Skip to content

Commit ac3e6d3

Browse files
committed
🆙 upgrade minor number version
1 parent 3758197 commit ac3e6d3

File tree

4 files changed

+15
-11
lines changed

4 files changed

+15
-11
lines changed

‎CHANGELOG.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1515

1616
### Removed
1717

18+
## [0.15.0] - 2025-12-09
19+
### Added
20+
- Command `check-traps-ids` check the ids listed on Mapsource and positions file.
21+
1822
## [0.14.0] - 2025-08-06
1923
### Added
2024
- Command `transform-cat-data-socorro`

‎geci_janitor/__init__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
"""Module to clean and process GECI data"""
22

3-
__version__ = "0.14.0"
3+
__version__ = "0.15.0"
44
from .cli import * # noqa

‎geci_janitor/cli.py‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,6 @@ def clean_cameras(file: str):
3131
os.system(command)
3232

3333

34-
@janitor.command()
35-
def check_traps_ids(positions_path: str = typer.Option(), mapsource_path: str = typer.Option()):
36-
"""
37-
Check if all traps in Mapsource are listed in postions and vice versa.
38-
"""
39-
command = f'docker run --volume $PWD:/workdir islasgeci/read_mapsource Rscript -e \'readMS::check_traps("{positions_path}", "{mapsource_path}")\''
40-
os.system(command)
41-
42-
4334
@janitor.command()
4435
def check_cameras_ids(
4536
mapsource_path: str = typer.Option(),
@@ -63,6 +54,15 @@ def cameras_info(file: str = "camaras_extra_revision_campo.csv"):
6354
os.system(command)
6455

6556

57+
@janitor.command()
58+
def check_traps_ids(positions_path: str = typer.Option(), mapsource_path: str = typer.Option()):
59+
"""
60+
Check if all traps in Mapsource are listed in postions and vice versa.
61+
"""
62+
command = f'docker run --volume $PWD:/workdir islasgeci/read_mapsource Rscript -e \'readMS::check_traps("{positions_path}", "{mapsource_path}")\''
63+
os.system(command)
64+
65+
6666
@janitor.command(help="Clean and check IG_POSICION_TRAMPAS and IG_MORFOMETRIA")
6767
def transform_cat_data(
6868
positions_path: Annotated[str, typer.Argument()],

‎tests/test_cli.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,5 @@ def test_version():
6363
janitor,
6464
["version"],
6565
)
66-
expected_version = "0.14.0"
66+
expected_version = "0.15.0"
6767
assert expected_version in result.stdout

0 commit comments

Comments
 (0)