On Mon, Dec 27, 2010 at 7:30 PM, Leandro Hermida <softdev@leandrohermida.com> wrote:
Hi there,
Don't know if my approach is wrong, in one of my tools I tried to create a conditional with a boolean parameter and I cannot get it to work. E.g.
<conditional name="testCond"> <param name="input1" type="boolean" checked="false" truevalue="dothis" falsevalue="dothat" label="Test Checkbox"/> <when value="dothis"/> <when value="dothat"> <param name="input2" type="text" size="100" label="Test"/> </when> </conditional>
The form throws and error with:
Exception: ('No case matched value:', 'testCond', False)
Even if I try to remove truevalue and falsevalue from the param and change the when value="True" and when value="False" I still get the same error.
best, Leandro
Same here - I reported it back in September and gave up in the short term and used a select with two options instead (that works). See: https://bitbucket.org/galaxy/galaxy-central/issue/393/cant-use-checkbox-bool... Peter