changeset 123:a0c32ddc3d96 draft

planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 6697892ecc504b00077394d0c167431ec3ac12f7-dirty
author ximgchess
date Tue, 30 May 2023 15:07:57 +0000
parents 66ffcd393336
children 020caca70a9a
files tomo/tomo_combine.xml
diffstat 1 files changed, 9 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/tomo/tomo_combine.xml	Tue May 30 14:54:47 2023 +0000
+++ b/tomo/tomo_combine.xml	Tue May 30 15:07:57 2023 +0000
@@ -17,21 +17,18 @@
         <configfile name="tool_config">
             <![CDATA[#slurp
 #echo 'x_bounds:' #
-#if str($x_bounds.type_selector) == "full_range"
-#echo '- -1' #
-#echo '- -1' #
-#else
+#if str($x_bounds.type_selector) == "enter_range"
 #echo '- ' + str($x_bounds.low) #
 #echo '- ' + str($x_bounds.upp) #
 #end if
 #echo 'y_bounds:' #
-#if str($y_bounds.type_selector) == "full_range"
-#echo '- -1' #
-#echo '- -1' #
-#else
+#if str($y_bounds.type_selector) == "enter_range"
 #echo '- ' + str($y_bounds.low) #
 #echo '- ' + str($y_bounds.upp) #
 #end if
+#if str($x_bounds.type_selector) == "full_range" and str($y_bounds.type_selector) == "full_range"
+#echo 'no_bounds: true'
+#end if
             ]]>
         </configfile>
     </configfiles>
@@ -44,8 +41,8 @@
             </param>
             <when value="full_range"/>
             <when value="enter_range">
-                <param name="low" type="integer" value="-1" optional="false" label="Lower image x-range index"/>
-                <param name="upp" type="integer" value="-1" optional="false" label="Upper image x-range index"/>
+                <param name="low" type="integer" value="" optional="false" min="0" label="Lower image x-range index"/>
+                <param name="upp" type="integer" value="" optional="false" min="0" label="Upper image x-range index"/>
             </when>
         </conditional>
         <conditional name="y_bounds">
@@ -55,8 +52,8 @@
             </param>
             <when value="full_range"/>
             <when value="enter_range">
-                <param name="low" type="integer" value="-1" optional="false" label="Lower image y-range index"/>
-                <param name="upp" type="integer" value="-1" optional="false" label="Upper image y-range index"/>
+                <param name="low" type="integer" value="" optional="false" min="0" label="Lower image y-range index"/>
+                <param name="upp" type="integer" value="" optional="false" min="0" label="Upper image y-range index"/>
             </when>
         </conditional>
     </inputs>