muccg / yabi

Workflows made easy.
Other
11 stars 6 forks source link

[YABI-74] Optional parameters with limited values #489

Closed ccgbuildbot closed 8 years ago

ccgbuildbot commented 8 years ago

[reporter="-1", created="Tue, 19 Mar 2013 12:52:10 +0800", resolved="Wed, 29 Oct 2014 11:41:25 +0800"]

Reported by s.williams@qfab.org, Aug 25, 2011

Is there a way of configuring a tool with an optional paramter, where that paramter has a contrained set of options, none of which is equivalent to omitting the parameter. I've not been able to configure anything like this yet. (NB: I don't have any current examples where its neccessray, but velvetg -read_trkg is one example of yes/no/omitted)

Perhaps if a null value (in the json options) is set the parameter could be omitted?

Thanks.

ccgbuildbot commented 8 years ago

[author="tszabo", created="Wed, 29 Oct 2014 11:41:10 +0800"]

This should be just configuring -read_trkg with yes/no and making it optional (ie. Mandatory not checked).