changeset 118:bad889c7214b draft

Uploaded
author luca_milaz
date Tue, 02 Jul 2024 20:21:00 +0000
parents bb470e1319dd
children ccd4d55699b5
files marea_2_0/flux_sampling.xml
diffstat 1 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/marea_2_0/flux_sampling.xml	Tue Jul 02 20:06:18 2024 +0000
+++ b/marea_2_0/flux_sampling.xml	Tue Jul 02 20:21:00 2024 +0000
@@ -11,8 +11,11 @@
 
     <command detect_errors="exit_code">
         <![CDATA[
-      	python $__tool_directory__/flux_sampling.py
-        --input $input
+        python $__tool_directory__/flux_sampling.py
+        #for $input in $inputs
+            --input '$input'
+            --model_name '$input.element_identifier'
+        #end for
         #if $algorithm_param.algorithm == 'OPTGP':
         	--thinning $thinning
         #end if
@@ -24,7 +27,7 @@
         ]]>
     </command>
     <inputs>
-        <param name="input" argument="--input" multiple="true" type="data" format="xml, json" label="Model(s):" />
+        <param name="inputs" argument="--inputs" multiple="true" type="data" format="xml, json" label="Model(s):" />
 
         <conditional name="algorithm_param">
 			<param name="algorithm" argument="--algorithm" type="select" label="Choose sampling algorithm:">