-
Notifications
You must be signed in to change notification settings - Fork 0
/
import_include_test.cwl
44 lines (36 loc) · 1.07 KB
/
import_include_test.cwl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/usr/bin/env cwl-runner
cwlVersion: v1.2
class: Workflow
#label: {"$include":"metadata.txt"}
inputs: []
outputs:
classout:
type: File
outputSource: create-tar/tar_compressed_java_file
requirements:
SubworkflowFeatureRequirement: {}
steps:
create-tar:
in: []
out: [tar_compressed_java_file]
run:
{ "$import": "tar_tool.cwl" }
# class: CommandLineTool
# requirements:
# InitialWorkDirRequirement:
# listing:
# - entryname: Hello.java
# entry: |
# public class Hello {
# public static void main(String[] argv) {
# System.out.println("Hello from Java");
# }
# }
# inputs: []
# baseCommand: [tar, --create, --file=hello.tar, Hello.java]
# outputs:
# tar_compressed_java_file:
# type: File
# streamable: true
# outputBinding:
# glob: "hello.tar"