File tree Expand file tree Collapse file tree 4 files changed +15
-11
lines changed
Expand file tree Collapse file tree 4 files changed +15
-11
lines changed Original file line number Diff line number Diff 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 `
Original file line number Diff line number Diff line change 11"""Module to clean and process GECI data"""
22
3- __version__ = "0.14 .0"
3+ __version__ = "0.15 .0"
44from .cli import * # noqa
Original file line number Diff line number Diff 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 ()
4435def 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" )
6767def transform_cat_data (
6868 positions_path : Annotated [str , typer .Argument ()],
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments