From 3129acfe609dfe689a34903c67a6d60dafb5100f Mon Sep 17 00:00:00 2001 From: leavauchier <120112647+leavauchier@users.noreply.github.com> Date: Wed, 12 Jun 2024 16:18:06 +0200 Subject: [PATCH] Fix aruments to pass to main in script (#10) --- RELEASE_NOTES.md | 6 +++++- macro/version.py | 2 +- ...k_points_to_use_for_digital_models_with_new_dimension.py | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 348e4d7..bd4944d 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,3 +1,7 @@ +### 0.1.1 + +Fix arguments that are passed from argparse to the main function + ## 0.1.0 Contains 2 pdal filters: @@ -9,4 +13,4 @@ Contains python macros in [text](macro/macro.py): - classify_hgt_ground - keep_non_planar_pts -Contains a python script for DSM/DTM points selection: [text](scripts/mark_points_to_use_for_digital_models_with_new_dimension.py) \ No newline at end of file +Contains a python script for DSM/DTM points selection: [text](scripts/mark_points_to_use_for_digital_models_with_new_dimension.py) diff --git a/macro/version.py b/macro/version.py index 74443dd..1af24b7 100755 --- a/macro/version.py +++ b/macro/version.py @@ -1,4 +1,4 @@ -__version__ = "0.1.0" +__version__ = "0.1.1" if __name__ == "__main__": diff --git a/scripts/mark_points_to_use_for_digital_models_with_new_dimension.py b/scripts/mark_points_to_use_for_digital_models_with_new_dimension.py index 18aed19..de13703 100755 --- a/scripts/mark_points_to_use_for_digital_models_with_new_dimension.py +++ b/scripts/mark_points_to_use_for_digital_models_with_new_dimension.py @@ -192,4 +192,4 @@ def main(input_las, output_las, dsm_dimension, dtm_dimension, output_dsm, output if __name__ == "__main__": args = parse_args() - main(**args) + main(**vars(args))