Re: [galaxy-dev] Command line option

2011-09-10 Thread Ross
Tim, AFAIK, tool data parameters are set to the string 'none' if they are optional and not set by the user, so maybe try: #if $option != 'none': -a "$option" #endif (I always put quotes around options to prevent errant spaces from creating havoc with command lines..FWIW) One great way to figure

[galaxy-dev] Command line option

2011-09-10 Thread Timothy Wu
Hi, I'm putting my own tool into Galaxy. Suppose I have an command line option that is designated by a switch. Such as $executable.py -a option input output The "-a option" is an optional argument. I want to make sure when the option is not given, "-a option" is entirely taken out. I tried Chee