Hei,
Is it possible to use a <select multiple="True"> for a conditional? I'm trying to use it for checkboxes which by default have to have multiple set. But as soon as I put the multiple-tag in I get an 'no case matched' exception (see example below).
Any suggestions? Tim
Example (working) <conditional name="c1"> <param type="select" name="dbt" label="Db tools"> <option value="blast">Blast</option> <option value="fasta">Fasta</option> </param> <when value="blast"> ... </when> </conditional>
Example (exception) <conditional name="c1"> <param type="select" name="dbt" label="Db tools" multiple="True"> <option value="blast">Blast</option> <option value="fasta">Fasta</option> </param> <when value="blast"> ... </when> </conditional>
=> Exception: ('No class matched value:' , 'c1' , None)
As you discovered, this isn't possible yet. You'll need to break up your parameters into multiple conditions, so Yes/No for Blast and Yes/No for Fasta.
Best, J.
On Aug 26, 2013, at 6:33 AM, Kahlke Tim wrote:
Hei,
Is it possible to use a <select multiple="True"> for a conditional? I'm trying to use it for checkboxes which by default have to have multiple set. But as soon as I put the multiple-tag in I get an 'no case matched' exception (see example below).
Any suggestions? Tim
Example (working)
<conditional name="c1"> <param type="select" name="dbt" label="Db tools"> <option value="blast">Blast</option> <option value="fasta">Fasta</option> </param> <when value="blast"> ... </when> </conditional>
Example (exception)
<conditional name="c1"> <param type="select" name="dbt" label="Db tools" multiple="True"> <option value="blast">Blast</option> <option value="fasta">Fasta</option> </param> <when value="blast"> ... </when> </conditional>
=> Exception: ('No class matched value:' , 'c1' , None)
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: http://lists.bx.psu.edu/
To search Galaxy mailing lists use the unified search at: http://galaxyproject.org/search/mailinglists/
galaxy-dev@lists.galaxyproject.org