Closed rrahn closed 1 year ago
Hmm what do you mean by "multiple values can be added by a repeated call of this option"?
Ah. -option "a" -option "b" -option "c"?
There is a specific parameter type that offers a list where selections can be added to. But if you want e.g. files or free-form strings, a separated string might be good.
That means, selections are pre-configured right? No, it should be more generic, allowing the user to specify custom values. Sometimes this could be a list of integers, which is hard to pre-configure.
Ok please see e.g. OpenMS/FileFilter peak_options:level
Can you please add a proper link? I am lacking time for searching 😝
see config for the CTD
thanks
But then I think that our executable actually expects the list to be specified after only one parameter.
Here the commands are generated based on the params that are read.
If a tool has a list-option, such that multiple values can be added by a repeated call of this option, KNIME fails to recognise this and issues the following error:
In my understanding it should be easy to provide a comma/semi-colon separated list in the configuration dialog for this parameter to mirror this behaviour. But I am not sure, what kind of limitations the configuration dialog has. But doing some regex to split the input string by a delimiter should not be a problem right?