You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cwltool behaves the default value of optional boolean parameters as false (I am not sure it is described in the spec) but sometimes we want to set true as default for several parameters.
We can use default field for the usual parameters but it is not provided for CommandInputRecordField.
Is there a way to set the default value for exclusive parameters or am I missing something?
Here is a simple example (wc.cwl) to show what I want.
It supports the following exclusive options:
help: a parameter to show the help message
version: a parameter to show the version
bytes, chars, lines and input: parameters for usual case
How to write to set the default value of bytestrue?
Note: #428 is a similar but different issue. #428 is for the default value of record type but this issue is about the default value of specific fields in record object.
The text was updated successfully, but these errors were encountered:
cwltool
behaves the default value of optional boolean parameters asfalse
(I am not sure it is described in the spec) but sometimes we want to settrue
as default for several parameters.We can use
default
field for the usual parameters but it is not provided forCommandInputRecordField
.Is there a way to set the default value for exclusive parameters or am I missing something?
Here is a simple example (
wc.cwl
) to show what I want.It supports the following exclusive options:
help
: a parameter to show the help messageversion
: a parameter to show the versionbytes
,chars
,lines
andinput
: parameters for usual caseHow to write to set the default value of
bytes
true
?Note: #428 is a similar but different issue. #428 is for the default value of record type but this issue is about the default value of specific fields in record object.
The text was updated successfully, but these errors were encountered: