Debian Codegraph @

cwl_utils/testdata/step-valuefrom2-wf_v1_2.cwl

raw
1 #!/usr/bin/env cwl-runner
2 class: Workflow
3 cwlVersion: v1.2
4 requirements:
5 - class: StepInputExpressionRequirement
6 - class: InlineJavascriptRequirement
7 - class: MultipleInputFeatureRequirement
8
9 inputs:
10 a: int
11 b: int
12
13 outputs:
14 val:
15 type: string
16 outputSource: step1/echo_out
17
18 steps:
19 step1:
20 run:
21 id: echo
22 class: CommandLineTool
23 inputs:
24 c:
25 type: int
26 inputBinding: {}
27 outputs:
28 echo_out:
29 type: string
30 outputBinding:
31 glob: "step1_out"
32 loadContents: true
33 outputEval: $(self[0].contents)
34 baseCommand: "echo"
35 stdout: step1_out
36
37 in:
38 c:
39 source: [a, b]
40 valueFrom: "$(self[0] + self[1])"
41 out: [echo_out]