It's actually a boolean checkbox..... so I basically want the label to change based upon whether or not the checkbox is checked. Is there any way to do that? Again, I've tried using the Cheetah syntax to do the #if #end inside the <output> tags.... but that didn't work.
- Nik.
I meant to say label="${input}" or label="${input.value}.
If it's a select field then you can change the option values to the text you want to add to your output label.
Shaun
Quoting Kanwei Li <kanwei@gmail.com> on Wed, 24 Aug 2011 20:34:57 -0400:
Hi Nikhil,
The tool templates are Cheetah templates, so you can do things like:
<outputs>
%if param == True:
<data format="txt" name="blah" label="Label1" />
%else
<data format="txt" name="blah" label="Label2" />
%endif
</outputs>
Thanks,
K
On Wed, Aug 24, 2011 at 8:24 PM, Nikhil Joshi <najoshi@ucdavis.edu> wrote:
Hi all,
Is there a way to set the label of the output based on the input
parameters? Perhaps by using the <action> tag? Basically, I want the
output label to be different if the user sets a particular parameter to be
true.
- Nik.
___________________________________________________________
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/
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.