Debian Codegraph @

cwl_utils/testdata/scatter-wf2_v1_2.cwl

raw
1 #!/usr/bin/env cwl-runner
2 cwlVersion: v1.2
3 class: Workflow
4
5 inputs:
6 inp1: string[]
7 inp2: string[]
8
9 outputs:
10 out:
11 outputSource: step1/echo_out
12 type:
13 type: array
14 items:
15 type: array
16 items: string
17
18 requirements:
19 - class: ScatterFeatureRequirement
20
21 steps:
22 step1:
23 in:
24 echo_in1: inp1
25 echo_in2: inp2
26 out: [echo_out]
27
28 scatter: [echo_in1, echo_in2]
29 scatterMethod: nested_crossproduct
30 run:
31 class: CommandLineTool
32 id: step1command
33 inputs:
34 echo_in1:
35 type: string
36 inputBinding: {}
37 echo_in2:
38 type: string
39 inputBinding: {}
40 outputs:
41 echo_out:
42 type: string
43 outputBinding:
44 glob: "step1_out"
45 loadContents: true
46 outputEval: $(self[0].contents)
47 baseCommand: "echo"
48 arguments:
49 - "-n"
50 - "foo"
51 stdout: step1_out