diff COBRAxy/ras_to_bounds.py @ 98:54ded7f28a60 draft

Uploaded
author luca_milaz
date Sun, 13 Oct 2024 11:49:10 +0000
parents e844f7dab6fe
children 182c710c1660
line wrap: on
line diff
--- a/COBRAxy/ras_to_bounds.py	Sun Oct 13 11:48:03 2024 +0000
+++ b/COBRAxy/ras_to_bounds.py	Sun Oct 13 11:49:10 2024 +0000
@@ -54,7 +54,7 @@
                         required = False,
                         help = 'input ras')
     
-    parser.add_argument('-rn', '--names',
+    parser.add_argument('-rn', '--name',
                 type=str,
                 help = 'ras class names')
     
@@ -221,7 +221,7 @@
 
     if(ARGS.ras_selector == True):
         ras_file_list = ARGS.input_ras.split(",")
-        ras_file_names = ARGS.names.split(",")
+        ras_file_names = ARGS.name.split(",")
         ras_class_names = []
         for file in ras_file_names:
             ras_class_names.append(file.split(".")[0])