On Fri, Aug 17, 2012 at 12:18 AM, Dan Tenenbaum <dtenenba@fhcrc.org> wrote:
Hello, I have the following wrapper:
<tool id="foo" name="foo" version="0.99.0"> <description>foo</description> <command interpreter="python"> tool.py $outputFileName </command> <inputs> <param name="tp" type="text" label="label" help="help" optional="false"/> </inputs> <outputs> <data format="csv" name="outputFileName"/> </outputs> </tool>
I expect that when I click "Execute" I will be told that "tp" must have a value. However, that doesn't happen, it just goes ahead and executes the script. How do I get Galaxy to require that a text param have a value? Thanks, Dan
Probably is has the value of an empty string? That seems logical but unhelpful - and explains the behaviour ;) You can probably use a validator in the XML for this (e.g. insist on at least one character). Peter