changeset 98:10f8540eeec5 draft

Uploaded
author luca_milaz
date Sun, 21 Jul 2024 17:02:19 +0000
parents e16343762738
children 7b1e6b2d2834
files marea_2/ras_to_bounds.py
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/marea_2/ras_to_bounds.py	Sun Jul 21 17:00:24 2024 +0000
+++ b/marea_2/ras_to_bounds.py	Sun Jul 21 17:02:19 2024 +0000
@@ -34,7 +34,7 @@
 
     parser.add_argument(
         '-mes', '--medium_selector', 
-        default = "Open", choices = ["Open", "Custom"],
+        default = "allOpen",
         help = 'chose which type of medium you want use')
     
     parser.add_argument("-meo", "--medium", type = str,
@@ -51,9 +51,13 @@
                         help = 'your tool directory')
     
     parser.add_argument('-ir', '--input_ras',
+                        required = False,
+                        help = 'input ras')
+    
+    parser.add_argument('-rs', '--ras_selector',
                         required = True,
                         type=str,
-                        help = 'input ras')
+                        help = 'ras selector')
     
     ARGS = parser.parse_args()
     return ARGS