debugging tools - print environment variables
Hi, I am writing a simple tool (env command!) for debugging environment/path related issues. Attached below is the xml config file. I noticed that inputs tag is necessary for getting 'execute' button. Is there any way to execute commands that have no input file/data? Also, can we have a similar environment output command available by default at least in the admin panel? It will be useful in debugging cluster/drmaa configuration issues. {{{ $ cat tools/DebugTools/printenv.xml <tool id="env_1" name="ENV" version="1.0.0"> <description>Prints env output</description> <command interpreter="bash"> env </command> <inputs> <param name="filename" type="text" optional="true" value="env.output"/> <!-- param name="envlabel" type="hidden" optional="true" value="env output"/ --> </inputs> <help> Prints env output </help> </tool> }}} -- Thanks, Shantanu.
Shantanu, see dev-list mails of for instance May 16th. Deals with tools without input. Alex ________________________________________ Van: galaxy-dev-bounces@lists.bx.psu.edu [galaxy-dev-bounces@lists.bx.psu.edu] namens Shantanu Pavgi [pavgi@uab.edu] Verzonden: maandag 23 mei 2011 18:30 Aan: galaxydev psu Onderwerp: [galaxy-dev] debugging tools - print environment variables Hi, I am writing a simple tool (env command!) for debugging environment/path related issues. Attached below is the xml config file. I noticed that inputs tag is necessary for getting 'execute' button. Is there any way to execute commands that have no input file/data? Also, can we have a similar environment output command available by default at least in the admin panel? It will be useful in debugging cluster/drmaa configuration issues. {{{ $ cat tools/DebugTools/printenv.xml <tool id="env_1" name="ENV" version="1.0.0"> <description>Prints env output</description> <command interpreter="bash"> env </command> <inputs> <param name="filename" type="text" optional="true" value="env.output"/> <!-- param name="envlabel" type="hidden" optional="true" value="env output"/ --> </inputs> <help> Prints env output </help> </tool> }}} -- Thanks, Shantanu. ___________________________________________________________ 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/
participants (2)
-
Bossers, Alex
-
Shantanu Pavgi