changeset 95:b73d1b71b72d draft

Uploaded
author luca_milaz
date Sat, 20 Jul 2024 16:24:12 +0000
parents 92a917341483
children a489d9155520
files marea_2/ras_to_bounds.xml
diffstat 1 files changed, 13 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/marea_2/ras_to_bounds.xml	Sat Jul 20 16:14:56 2024 +0000
+++ b/marea_2/ras_to_bounds.xml	Sat Jul 20 16:24:12 2024 +0000
@@ -24,7 +24,10 @@
             --medium $medium
             --medium_name $medium.element_identifier
         #end if
-        --input_ras $input_ras
+        --ras_selector $cond_ras.ras_choice
+        #if $cond_ras.ras_choice == 'yes'
+        	--input_ras $input_ras
+        #end if
         --out_log $log
         ]]>
     </command>
@@ -36,7 +39,15 @@
             </when>
         </conditional> 
 
-        <param name="input_ras" argument="--input_ras" multiple="false" type="data" format="tabular, csv, tsv" label="RAS matrix:" />
+        <conditional name="cond_ras">
+			<param name="ras_choice" argument="--ras_choice" type="select" label="Do want to use RAS?">
+                	<option value="yes" selected="true">Yes</option>
+                	<option value="no">No</option>
+        	</param>
+            <when value="yes">
+                <param name="input_ras" argument="--input_ras" multiple="false" type="data" format="tabular, csv, tsv" label="RAS matrix:" />
+            </when>
+        </conditional>  
         
         <conditional name="cond_medium">
             <expand macro="options_ras_to_bounds_medium"/>