@ Peter: I'm not sure I can get more precise... the checked attribute has no effect whatsoever, the boxes are always unchecked when I open the tool. I tried the "yes" and the "true" values to no avail.

@ Leandro: Yes I already saw that and tried to correct the code the way someone suggested in the mailing list archives:
http://lists.bx.psu.edu/pipermail/galaxy-dev/attachments/20100924/03979abb/attachment.obj
But since I couldn't get it working I found another way to do what I want.
But that's actually not the issue here. I just want my checkboxes to be checked by default, and it appears not to work.

To give an example, here is one of the lines of my tool XML file:
<param name="SQA" type="boolean" label="Run SolexaQA" checked="true" />
This checkbox remains unchecked at tool opening.

As far as I know, some people managed to get it working and I'd like to know how.

Any suggestion?

Thanks,
L-A


Le 23/05/2011 16:29, Leandro Hermida a écrit :
Not everything works correctly with checkbox booleans, the bug a couple people and I reported long ago

https://bitbucket.org/galaxy/galaxy-central/issue/393/cant-use-checkbox-boolean-with-conditional

is still there.

2011/5/23 Peter Cock <p.j.a.cock@googlemail.com>
2011/5/23 Louise-Amélie Schmitt <louise-amelie.schmitt@embl.de>:
> Hello,
>
> I know this is still not fully implemented and that there has already been a
> lot of messages on the topic, but I just would like to know if there's a way
> to make the "checked" attribute in the param tags have the required effect.

It might help if you were more precise - what isn't working for you?

Ideally there would be an issue already reported on this on bitbucket.
https://bitbucket.org/galaxy/galaxy-central/issues?sort=-id

As I recall, the checked attribute is working fine for boolean parameters:
https://bitbucket.org/galaxy/galaxy-central/wiki/ToolConfigSyntax

Peter

___________________________________________________________
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/