Hi Leandro,

I tested this on my instance and the example you gave did give me the correct string: Human (hg18). Do you still have this problem? If so, can you provide an example where it still behaves incorrectly?

Thanks,

K

On Thu, Jul 14, 2011 at 4:16 AM, Leandro Hermida <softdev@leandrohermida.com> wrote:
Hi,

Looking at the example on the Tool Config Syntax wiki page:

Example

Assume that the tool includes an input parameter named "database" which is a select list ( e.g., assume the following inputs ):

Toggle line numbers
   1 <inputs>
2 <param format="tabular" name="input" type="data" label="Input stuff"/>
3 <param type="select" name="database" label="Database">
4 <option value="alignseq.loc">Human (hg18)</option>
5 <option value="faseq.loc">Fly (dm3)</option>
6 </param>
7 </inputs>

Assume that the user selects the first option in the $database select list. Then the following will ensure that the tool produces a tabular data set whose associated history item has the label "Blat on Human (hg18)".

Toggle line numbers
   1 <outputs>
2 <data format="input" name="output" label="Blat on ${database.value_label}" />
3 </outputs>

It shows that .value_label attribute should produce the string in between the <option> tags, not the actual value.

Why does this not work? When I use it it produces the value, or am I doing something wrong?

regards,
Leandro


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