From 554b0bab0558c208361462c39c959eb55160bfef Mon Sep 17 00:00:00 2001 From: Michael Rudolf <rudolf@geo.tu-darmstadt.de> Date: Tue, 18 Feb 2025 15:53:33 +0100 Subject: [PATCH] Fixed figure numbering and some paths. --- u4py/io/docx_report.py | 2 +- u4py/scripts/gis_workflows/PostProcess_ClassifiedShapes.py | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/u4py/io/docx_report.py b/u4py/io/docx_report.py index 97f702c..fef7fce 100644 --- a/u4py/io/docx_report.py +++ b/u4py/io/docx_report.py @@ -105,7 +105,7 @@ def site_report( document = hydrogeology(img_path, img_fmt, document) if os.path.exists(img_path + f"_BFD50.{img_fmt}"): document = soils(img_path, img_fmt, document) - + FIGURENUM = 1 # Save to docx file document.save(os.path.join(output_path_docx, f"{group:05}_info.docx")) diff --git a/u4py/scripts/gis_workflows/PostProcess_ClassifiedShapes.py b/u4py/scripts/gis_workflows/PostProcess_ClassifiedShapes.py index ad33737..3158847 100644 --- a/u4py/scripts/gis_workflows/PostProcess_ClassifiedShapes.py +++ b/u4py/scripts/gis_workflows/PostProcess_ClassifiedShapes.py @@ -24,7 +24,8 @@ import u4py.utils.projects as u4proj def main(): project = u4proj.get_project( proj_path=Path( - "~/Documents/umwelt4/PostProcess_ClassifiedShapesHLNUG.u4project" + r"~\Documents\ArcGIS\U4_projects\PostProcess_ClassifiedShapesHLNUG.u4project" + # "~/Documents/umwelt4/PostProcess_ClassifiedShapesHLNUG.u4project" # "~/Documents/umwelt4/PostProcess_ClassifiedShapes.u4project" ).expanduser(), required=[ @@ -39,7 +40,7 @@ def main(): overwrite = False use_filtered = False use_parallel = False - generate_plots = True + generate_plots = False overwrite_plots = True generate_document = True single_report = False -- GitLab