Hi galaxians,

I'm having an issue with tool parameters when using conditional tag and
boolean parameters.

My xml is like this:

<conditional name="mis_allowed_conditional">
    <param name="mis_allowed_bool" type="boolean" label="Allow mismatch ?"
truevalue="-m" falsevalue="" checked="no"/>
    <when value="-m">
        <param name="mis_allowed" type="float" value="0"/>

and my command line is like:

<command interpreter="python">wrapper.py

The problem is when mis_allowed_bool isn't checked, I don't have any
arguments in my command line (as expected).
But, when it is checked, $mis_allowed_conditional.mis_allowed_bool is set
to "True" and not to "-m".
The strange thing is that the "mis_allowed" textfield is visible when
mis_allowed_bool is checked so I guess that the when behaves as expected.
Moreover, other boolean parameters that are not nested in a conditional
work as they should.

Is there something wrong with my xml or is this some kind of bug?

Thank you for your answers,

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:

To search Galaxy mailing lists use the unified search at:

Reply via email to