changeset 138:6b916004ae94 draft

Uploaded
author luca_milaz
date Tue, 02 Jul 2024 22:09:29 +0000
parents 9c80c6214820
children 56e3758679bb
files marea_2_0/flux_sampling.py
diffstat 1 files changed, 6 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/marea_2_0/flux_sampling.py	Tue Jul 02 22:05:08 2024 +0000
+++ b/marea_2_0/flux_sampling.py	Tue Jul 02 22:09:29 2024 +0000
@@ -192,27 +192,28 @@
 
     ARGS.output_folder = 'flux_sampling'
 
+
     utils.logWarning(
         ARGS.inputs,
         ARGS.out_log)
 
 
     # load custom model
-    '''model1 = load_custom_model(
-        utils.FilePath.fromStrPath(ARGS.inputs[0]), ARGS.model_name[0].ext)
+    model1 = load_custom_model(
+        utils.FilePath.fromStrPath(ARGS.inputs.split(",")[0]))
     model2 = load_custom_model(
-        utils.FilePath.fromStrPath(ARGS.input[1]), ARGS.model_name[1].ext)'''
+        utils.FilePath.fromStrPath(ARGS.inputs.split(",")[1]))
     
 
     
 
     a = pd.DataFrame(columns=["a"])
     a.loc[0] = ["sss"]
-    a.to_csv(ARGS.output_folder+"test1.csv")
+    a.to_csv(ARGS.output_folder+"/test1.csv")
 
     a = pd.DataFrame(columns=["a"])
     a.loc[0] = ["sss"]
-    a.to_csv(ARGS.output_folder+"test2.csv")
+    a.to_csv(ARGS.output_folder+"/test2.csv")
 
 
     '''