diff --git a/webknossos/Changelog.md b/webknossos/Changelog.md index 0b4cf1914..90774b9aa 100644 --- a/webknossos/Changelog.md +++ b/webknossos/Changelog.md @@ -34,6 +34,9 @@ For upgrade instructions, please check the respective *Breaking Changes* section ### Changed - Improved performance for calculations with `Vec3Int` and `BoundingBox`. [#461](https://github.com/scalableminds/webknossos-libs/pull/461) +- Renamed the folder webknossos/script-collection to webknossos/script_collection to enable module imports. [#505](https://github.com/scalableminds/webknossos-libs/pull/505) + +### Fixed - Resolve path when symlinking layer and make_relative is False (instead of only making it absolute). [#492](https://github.com/scalableminds/webknossos-libs/pull/492) diff --git a/webknossos/script-collection/globalize_floodfill.py b/webknossos/script_collection/globalize_floodfill.py similarity index 99% rename from webknossos/script-collection/globalize_floodfill.py rename to webknossos/script_collection/globalize_floodfill.py index 65c774c38..70a02df3a 100755 --- a/webknossos/script-collection/globalize_floodfill.py +++ b/webknossos/script_collection/globalize_floodfill.py @@ -45,7 +45,7 @@ def create_parser() -> argparse.ArgumentParser: merged in. Additionally, the partial flood-fills which are denoted in "explorational.nml" will be continued/globalized. - python -m script-collection.globalize_floodfill \\ + python -m script_collection.globalize_floodfill \\ --output_path some/path/new_dataset \\ --segmentation_layer_path existing/dataset/segmentation \\ --volume_path annotation/data \\ diff --git a/webknossos/script-collection/move_dataset_slices_by_one.py b/webknossos/script_collection/move_dataset_slices_by_one.py similarity index 100% rename from webknossos/script-collection/move_dataset_slices_by_one.py rename to webknossos/script_collection/move_dataset_slices_by_one.py diff --git a/webknossos/typecheck.sh b/webknossos/typecheck.sh index 14f576d46..86a2435fe 100755 --- a/webknossos/typecheck.sh +++ b/webknossos/typecheck.sh @@ -10,5 +10,5 @@ poetry run python -m mypy -p tests echo "Typecheck examples..." poetry run python -m mypy -p examples -echo "Typecheck script-collection..." -poetry run python -m mypy -p script-collection +echo "Typecheck script_collection..." +poetry run python -m mypy -p script_collection