Mercurial > repos > rv43 > chess_tomo
diff tomo_reduce.xml @ 24:0891477bcb16 draft
planemo upload for repository https://github.com/rolfverberg/galaxytools commit f8c4bdb31c20c468045ad5e6eb255a293244bc6c-dirty
| author | rv43 |
|---|---|
| date | Tue, 21 Mar 2023 17:40:36 +0000 |
| parents | 7a7233e212be |
| children | 36576bdb2e2e |
line wrap: on
line diff
--- a/tomo_reduce.xml Tue Mar 21 16:47:44 2023 +0000 +++ b/tomo_reduce.xml Tue Mar 21 17:40:36 2023 +0000 @@ -11,16 +11,25 @@ --input_file "$input_file" --output_file "output.nex" --galaxy_flag - --img_x_bounds $img_x_bounds.low $img_x_bounds.upp + #if str($img_bounds.type_selector) == "enter_range" + --img_x_bounds $img_bounds.low $img_bounds.upp + #end if -l "$log" ]]> </command> <inputs> <param name="input_file" type="data" optional="false" label="Input file"/> - <section name="img_x_bounds" title="Reduction x bounds"> - <param name="low" type="integer" value="-1" label="Lower bound"/> - <param name="upp" type="integer" value="-1" label="Upper bound"/> - </section> + <conditional name="img_bounds"> + <param name="type_selector" type="select" label="Choose image range for data reduction"> + <option value="full_range" selected="true">Use the full image range</option> + <option value="enter_range">Manually enter the image range</option> + </param> + <when value="full_range"/> + <when value="enter_range"> + <param name="low" type="integer" optional="false" label="Lower image range index in vertical direction"/> + <param name="upp" type="integer" optional="false" label="Upper image range index in vertical direction"/> + </when> + </conditional> </inputs> <outputs> <expand macro="common_outputs"/>
