Hi Ramon,
Code: ________________________________________________________________ <tool id="predictionModelTool" name="Modelo de Deteccao de Risco"> ... <command interpreter="bash">r_wrapper.sh $script_file</command> <inputs> ... </inputs> <configfiles> <configfile name="script_file">
...
file=file("output.txt","w")
Do not hardcode a filepath here, you need to reference the template variable from your output section (name="output"). For example: file=file("${output}","w")
source("/home/ramao/Galaxy-ES/tools/my_tools/modeloCancroEuropeu.R") close(file)
...
</configfile> </configfiles>
<outputs><data format="txt" name="output.txt"/></outputs>
and here change that to: <outputs><data format="txt" name="output"/></outputs> Cheers, Bjoern
... </tool> ________________________________________________________________
I'm having the output "empty" and I need that the result be generated in a text file. What can I do?
Thank you ___________________________________________________________ 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/