
Try this: <command interpreter="python">tool.py #if $skip == True -skipsomething #endif $output </command> On Fri, Jul 9, 2010 at 10:46 AM, Michael Siebauer <michael_siebauer@eva.mpg.de> wrote:
Hi,
I want to ask if it is possible to evalute the value of some tool checkboxes within this cheetah templates. I want to do something like this.
A certain tool has the ability to skip some test (e.g. --skipsomething). So I added a checkbox option for the user and depending of his selection the commandline should be:
tool.py $input $output or tool.py $input --skipsomething $output
<tool name="tool" id="tool"> <command interpreter="python"> tool.py $input #if $skip.value == "true" #--skipsomething #endif '$output' </command> <inputs> <param name="input" type="text" label="Full path to source file"/> <param name="skip" type="boolean" label="skip something">
</input> ...
Or is there an easier way to achieve this without cheetah?
Thx for help and haveaniceweekend ;-)
_______________________________________________ galaxy-dev mailing list galaxy-dev@lists.bx.psu.edu http://lists.bx.psu.edu/listinfo/galaxy-dev
-- Jesse Erdmann Bioinformatics Analyst Masonic Cancer Center University of Minnesota jerdmann@umn.edu 612-626-3123 jesse@jesseerdmann.com Twitter: http://twitter.com/jesseerdmann