Skip to content

Commit

Permalink
Merge pull request #15 from movestore/feature/exchange-samples
Browse files Browse the repository at this point in the history
exchange samples
  • Loading branch information
annescharf authored Sep 11, 2024
2 parents 1aaa18c + 290338a commit 2c499b9
Show file tree
Hide file tree
Showing 17 changed files with 14 additions and 13 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@

# User-specific stuff
.idea/**/workspace.xml
.idea/**/misc.xml
.idea/**/*.iml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/misc.xml
.idea/**/dictionaries
.idea/**/shelf

Expand Down
8 changes: 0 additions & 8 deletions .idea/python-sdk.iml

This file was deleted.

8 changes: 8 additions & 0 deletions CHANGELOG_SDK.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog SDK

## 2024-09 `v2.2.1`

- exchange samples: generated by next MoveApps move2 to movingpandas translator app

## 2024-09 `v2.2.0`

- switch build from `micromamba` to `miniforge3`

## 2024-03 `v2.1.0`

- introduce app-setting-type `USER_FILE`
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile_smoketest
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ COPY --chown=$UID:$GID . $PROJECT_DIR
RUN conda env create --prefix $ENV_PREFIX --file $PROJECT_DIR/environment.yml && \
conda clean --all --yes

ENTRYPOINT [ "conda", "run", "--prefix", "${ENV_PREFIX}", "python3", "sdk.py" ]
ENTRYPOINT [ "conda", "run", "--no-capture-output", "--prefix", "${ENV_PREFIX}", "python3", "sdk.py" ]
2 changes: 1 addition & 1 deletion Dockerfile_unittest
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ COPY app/ ./app/
RUN conda env create --prefix ${ENV_PREFIX} --file environment.yml && \
conda clean --all --yes

RUN conda run --prefix ${ENV_PREFIX} python3 -m unittest
RUN conda run --no-capture-output --prefix ${ENV_PREFIX} python3 -m unittest
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: moveapps-python-sdk
channels:
- conda-forge
dependencies:
- python=3.10
- python=3.11
- pandas
- geopandas
- movingpandas
Expand Down
Binary file modified resources/samples/input1_LatLon.pickle
Binary file not shown.
Binary file modified resources/samples/input1_Mollweide.pickle
Binary file not shown.
Binary file modified resources/samples/input2_LatLon.pickle
Binary file not shown.
Binary file modified resources/samples/input2_Mollweide.pickle
Binary file not shown.
Binary file modified resources/samples/input3_LatLon.pickle
Binary file not shown.
Binary file modified resources/samples/input3_Mollweide.pickle
Binary file not shown.
Binary file modified resources/samples/input4_LatLon.pickle
Binary file not shown.
Binary file modified resources/samples/input4_Mollweide.pickle
Binary file not shown.
2 changes: 1 addition & 1 deletion tests/app/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def setUp(self) -> None:

def test_app_returns_input(self):
# prepare
expected: mpd.TrajectoryCollection = pd.read_pickle(os.path.join(ROOT_DIR, 'tests/resources/app/input2.pickle'))
expected: mpd.TrajectoryCollection = pd.read_pickle(os.path.join(ROOT_DIR, 'tests/resources/app/input2_LatLon.pickle'))
config: dict = {}

# execute
Expand Down
Binary file removed tests/resources/app/input2.pickle
Binary file not shown.
Binary file added tests/resources/app/input2_LatLon.pickle
Binary file not shown.

0 comments on commit 2c499b9

Please sign in to comment.