Bug with boolean param (with truevalue)
Hi All, We have been trying to use a param with type boolean in a conditional. Because of the Case inconsistency between the when clause (lower case) and the command clause (Capitalized) we tried to use the truevalue options. For example (Full xml and code attached) <conditional name="bdg_options2"> <param name="bdg2" type="boolean" checked="false" truevalue="changed" falsevalue="unchanged" label="Boolean 2" /> <when value="changed"> .... </when> <when value="unchanged"> ... </when> </conditional> Unfortunately this showed up various bugs. 1. The value set by truevalue="..." works in the when but is lost in the <command> where it reverst back to True/False (Both in Galaxy and Planemo) 2. In Planemo you can change a param which defaults to True to False but you can not change a param that defaults to False to True -Works ok in Galaxy 3. In Planemo you can use the value set by falsevalue="xyz" to set the boolean param but ONLY to change a true to a false but not a false to a true. regards Christian Brenninkmeijer PS. If the attachments do not work I will repost with the full xml and code
participants (1)
-
Christian Brenninkmeijer