Don’t think you need the { }

You may have to do something like this

#set foo = “file.txt"
<outputs>
   <data format="txt" from_work_dir=“something/#echo str ( $foo ) #" 
name="test"/>
</outputs>

But try it just without the { }.

Cheetah is a bitch and note the spaces in the #echo str ( $foo ) # it seems to 
be important to have them there
Regards,

Thon






[cid:enz_logo_2_new36d101]


Thon deBoer
Director of Software

3415 Colorado Ave.
Room A255
Boulder, CO  80303

Cell: (650) 799-6839

tdeb...@enzymatics.com
www.enzymatics.com


Enzymatics Inc. Confidentiality Notice: This e-mail and any attachments are 
confidential, proprietary and or privileged information. It is intended only 
for the individual(s) to whom it is addressed, and may not be saved, copied, 
printed, disclosed or used by anyone other than the intended recipient(s). If 
you are not an intended recipient, please delete this e-mail immediately and 
notify the sender by e-mail.

On Jan 22, 2014, at 7:58 AM, lquintri 
<laure.quint...@ifremer.fr<mailto:laure.quint...@ifremer.fr>> wrote:

Hello,

I don't know how to use a cheetah variable (#set var) inside a XML tag.
I mean when I try to do this :


#set foo = "file.txt"
...
<outputs>
   <data format="txt" from_work_dir="something/${foo}" name="test"/>
</outputs>

from_work_dir tag contains "something/${foo}" instead of "something/file.txt"

Is there a way to do this ?

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

To search Galaxy mailing lists use the unified search at:
http://galaxyproject.org/search/mailinglists/

<<inline: enz_logo_2_new36d101>>

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

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/

Reply via email to