changeset 111:b5b7e46be22a draft

Uploaded
author luca_milaz
date Sun, 21 Jul 2024 18:53:55 +0000
parents 79eca0fb83b2
children 79c079fb4e50
files marea_2/ras_to_bounds.py
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/marea_2/ras_to_bounds.py	Sun Jul 21 18:52:44 2024 +0000
+++ b/marea_2/ras_to_bounds.py	Sun Jul 21 18:53:55 2024 +0000
@@ -124,9 +124,10 @@
     if not os.path.exists('ras_to_bounds'):
         os.makedirs('ras_to_bounds')
 
-    ARGS.output_folder = 'ras_to_bounds/'
+    global ARGS
 
-    global ARGS
+    ARGS.output_folder = 'ras_to_bounds/'
+    
     ARGS = process_args(sys.argv)
     
     ARGS.output_types = ARGS.output_type.split(",")