Hi, I am creating a tool that provides the user with different input options based on the format of the input file. I have a conditional statement: <conditional name="fType"> <param name="file_type" type="select" label="Input File Type"> <option value="1">Type1</option> <option value="2">Type2</option> <option value="3">Type3</option> </param> <when value="1"> etc..... There is overlap between the options available for each file type and type1 and type 2 have identical options. Is there a way to avoid repetition under each <when> tag? For instance, I tried <when value="1,2"> but this doesn't work. I also want to send the file type to the program "--ftype $fType.file_type" so I want the values in each option tag to be unique. Thanks for any help Shaun -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
Shaun, Currently, no, though this is an interesting idea. I've created an enhancement request in bitbucket that you can follow here: https://bitbucket.org/galaxy/galaxy-central/issue/613/conditional-and-where-... Thanks! -Dannon On Jul 5, 2011, at 12:03 PM, SHAUN WEBB wrote:
Hi,
I am creating a tool that provides the user with different input options based on the format of the input file. I have a conditional statement:
<conditional name="fType"> <param name="file_type" type="select" label="Input File Type"> <option value="1">Type1</option> <option value="2">Type2</option> <option value="3">Type3</option> </param> <when value="1"> etc.....
There is overlap between the options available for each file type and type1 and type 2 have identical options. Is there a way to avoid repetition under each <when> tag?
For instance, I tried <when value="1,2"> but this doesn't work.
I also want to send the file type to the program "--ftype $fType.file_type" so I want the values in each option tag to be unique.
Thanks for any help Shaun
-- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
___________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at:
participants (2)
-
Dannon Baker
-
SHAUN WEBB