cwl_utils/testdata/cond-single-source-wf-005.1.cwl
raw| 1 | #!/usr/bin/env cwl-runner |
| 2 | class: Workflow |
| 3 | cwlVersion: v1.2 |
| 4 | inputs: |
| 5 | val: int |
| 6 | |
| 7 | steps: |
| 8 | |
| 9 | step1: |
| 10 | in: |
| 11 | in1: val |
| 12 | a_new_var: val |
| 13 | run: foo-array.cwl |
| 14 | when: $(inputs.in1 < 1) |
| 15 | out: [out1] |
| 16 | |
| 17 | outputs: |
| 18 | out1: |
| 19 | type: string[] |
| 20 | outputSource: step1/out1 |
| 21 | pickValue: all_non_null |
| 22 | |
| 23 | requirements: |
| 24 | InlineJavascriptRequirement: {} |