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
workflow.cwl:21:11: Source 'std_out' of type ["null", {"type": "array", "items": "File"}] may be
incompatible
workflow.cwl:28:7: with sink 'fqValidator' of type {"type": "array", "items": ["null", "File"]}
Source is from conditional step and may produce `null`
The checker is using the wrong type for fastq-validator/std_out, it should be {"type": "array", "items": ["null", "File"]}.
Your Environment
cwltool 3.1.20220221215214
The text was updated successfully, but these errors were encountered:
Typing related to conditionals should be part of the computed output
signature of the step, not added in by the checker.
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
Expected Behavior
Should not give a warning when scattering with a conditional connects to an array of optional values.
Actual Behavior
It gaves a warning because the output type is computed incorrectly for the order of operations in a step that has both a scatter and a conditional.
Workflow Code
The checker is using the wrong type for
fastq-validator/std_out
, it should be {"type": "array", "items": ["null", "File"]}.Your Environment
cwltool 3.1.20220221215214
The text was updated successfully, but these errors were encountered: