Debian Codegraph @

cwl_utils/testdata/step_valuefrom5_wf_v1_2.cwl

raw
1 #!/usr/bin/env cwl-runner
2 class: Workflow
3 cwlVersion: v1.2
4 requirements:
5 StepInputExpressionRequirement: {}
6
7 inputs:
8 file1: File
9
10 outputs:
11 val1:
12 type: string
13 outputSource: step1/echo_out
14 val2:
15 type: string
16 outputSource: step2/echo_out
17
18 steps:
19 step1:
20 run:
21 class: CommandLineTool
22
23 inputs:
24 name:
25 type: string
26 inputBinding: {}
27
28 outputs:
29 echo_out:
30 type: string
31 outputBinding:
32 glob: step1_out
33 loadContents: true
34 outputEval: $(self[0].contents)
35 echo_out_file:
36 type: File
37 outputBinding:
38 glob: step1_out
39
40 baseCommand: echo
41 stdout: step1_out
42
43 in:
44 name:
45 source: file1
46 valueFrom: $(self.basename)
47 out: [echo_out, echo_out_file]
48
49
50 step2:
51 run:
52 class: CommandLineTool
53
54 inputs:
55 name:
56 type: string
57 inputBinding: {}
58
59 outputs:
60 echo_out:
61 type: string
62 outputBinding:
63 glob: step1_out
64 loadContents: true
65 outputEval: $(self[0].contents)
66
67 baseCommand: echo
68 stdout: step1_out
69
70 in:
71 name:
72 source: step1/echo_out_file
73 valueFrom: $(self.basename)
74 out: [echo_out]