File tree Expand file tree Collapse file tree 3 files changed +47
-1
lines changed Expand file tree Collapse file tree 3 files changed +47
-1
lines changed Original file line number Diff line number Diff line change 34743474 checksum : sha1$0074b1841ab5103cc0442f739d9fb41a33b602ee
34753475 tags : [ step_input, workflow ]
34763476
3477+ - id : nested_types
3478+ job : tests/nested_types.yaml
3479+ tool : tests/nested_types.cwl
3480+ doc : demonstrate usage of nested types
3481+ output :
3482+ their_name : " Foo Bar"
3483+ tags : [ require, command_line_tool ]
3484+
34773485- id : input_directory_with_executable_file
34783486 job : tests/input_dir_with_executable_file.yaml
34793487 tool : tests/input_dir_with_executable_file.cwl
34803488 doc : Executable files in input directories retain their execute permissions
34813489 output :
34823490 args : [ "1", "two", "3" ]
3483- tags : [ required, command_line_tool ]
3491+ tags : [ required, command_line_tool ]
Original file line number Diff line number Diff line change 1+ #!/usr/bin/env cwl-runner
2+ cwlVersion: v1.2
3+ class: CommandLineTool
4+
5+ requirements :
6+ SchemaDefRequirement:
7+ types :
8+ - name: name
9+ type : record
10+ fields :
11+ - name: first
12+ type : string
13+ - name: last
14+ type : string
15+ - name: person
16+ type : record
17+ fields :
18+ - name: name
19+ type : name
20+ - name: age
21+ type : int
22+ inputs :
23+ my_person: person
24+
25+ outputs :
26+ their_name: string
27+
28+ baseCommand : echo
29+
30+ stdout : cwl.output.json
31+
32+ arguments :
33+ - '{"their_name": "$(inputs. my_person. name. first) $(inputs. my_person. name. last)" }'
Original file line number Diff line number Diff line change 1+ my_person :
2+ name :
3+ first : Foo
4+ last : Bar
5+ age : 42
You can’t perform that action at this time.
0 commit comments