8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e539108 commit f6cbed0Copy full SHA for f6cbed0
cwlgen/elements.py
@@ -37,7 +37,10 @@ def parse_type(param_type, requires_type=False):
37
optional = param_type[-1] == "?"
38
if optional:
39
_LOGGER.debug("Detected {param_type} to be optional".format(param_type=param_type))
40
- cwltype = param_type[:-1] if optional else param_type
+ cwltype = param_type[:-1]
41
+ else:
42
+ cwltype = param_type
43
+ # cwltype = param_type[:-1] if optional else param_type
44
45
# check for arrays
46
if len(cwltype) > 2 and cwltype[-2:] == "[]":
0 commit comments