Peter - does altering the second option so it looks like
Hi all,
I'm trying to setup a select parameter where I want to pre-select an entry as
the default (rather than just the first entry). To that end, I have
set the value
attribute as implied by the wiki documentation:
http://bitbucket.org/galaxy/galaxy-central/wiki/ToolConfigSyntax
e.g.
<param name="matrix" type="select" value="BLOSUM62" label="Scoring matrix">
<option value="BLOSUM80">BLOSUM80</option>
<option value="BLOSUM62">BLOSUM62 (default)</option>
<option value="BLOSUM50">BLOSUM50</option>
<option value="BLOSUM45">BLOSUM45</option>
<option value="PAM250">PAM250</option>
<option value="BLOSUM90">BLOSUM90</option>
<option value="PAM30">PAM30</option>
<option value="PAM70">PAM70</option>
</param>
This does not work - Galaxy (in Firefox at least) always defaults to the first
entry as the default. This also happens if I set display="radio". Is this a bug,
is setting a default for select parameters done in another way, or is this a
missing feature?
For now I have just put the default at the top, breaking the alphabetic order:
<param name="matrix" type="select" label="Scoring matrix">
<option value="BLOSUM62">BLOSUM62 (default)</option>
<option value="BLOSUM80">BLOSUM80</option>
<option value="BLOSUM50">BLOSUM50</option>
<option value="BLOSUM45">BLOSUM45</option>
<option value="PAM250">PAM250</option>
<option value="BLOSUM90">BLOSUM90</option>
<option value="PAM30">PAM30</option>
<option value="PAM70">PAM70</option>
</param>
Regards,
Peter
_______________________________________________
galaxy-dev mailing list
galaxy-dev@lists.bx.psu.edu
http://lists.bx.psu.edu/listinfo/galaxy-dev