changeset 187:50246292ba35 draft

Uploaded
author luca_milaz
date Thu, 04 Jul 2024 20:18:10 +0000
parents 6f3a092f0a0e
children 67d359a8213d
files marea_2_0/flux_sampling.py
diffstat 1 files changed, 11 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/marea_2_0/flux_sampling.py	Thu Jul 04 20:08:09 2024 +0000
+++ b/marea_2_0/flux_sampling.py	Thu Jul 04 20:18:10 2024 +0000
@@ -70,6 +70,16 @@
                         required = True,
                         help = 'choose how many batches')
     
+    parser.add_argument('-ot', '--output_type', 
+                        type = str,
+                        required = True,
+                        help = 'output type')
+    
+    parser.add_argument('-tm', '--toMerge', 
+                        type = bool,
+                        required = True,
+                        help = 'merge')
+    
     ARGS = parser.parse_args()
     return ARGS
 
@@ -208,13 +218,9 @@
     ARGS = process_args(sys.argv)
 
     ARGS.output_folder = 'flux_sampling/'
-
-    utils.logWarning(
-        ARGS.input,
-        ARGS.out_log)
     
     utils.logWarning(
-        ARGS.name,
+        ARGS.output_type,
         ARGS.out_log)
     
     models_input = ARGS.input.split(",")