This is a test version of Biostars. For the public version, visit https://www.biostars.org.
CWL: Input restrictions for integers

Hi,

I am trying to define restrictions for values of input arguments in CommandLineTools. For example that an integer only may have values between 0 and 100 or just even numbers. Is there a way to restrict the values for an integer input? For string-sets enumerations can be used very well. But how do I restrict the input of integers in a specific range in a convenient way?

Thank you in advance.

common-workflow-language cwl

1 answer

See also CWL: Allowed values for parameters for the more general topic.

Log in to answer this question.