-
Notifications
You must be signed in to change notification settings - Fork 0
/
west_workflow.cwl
78 lines (77 loc) · 1.67 KB
/
west_workflow.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#!/usr/bin/env cwl-runner
class: Workflow
cwlVersion: v1.0
doc: Workflow tool to generate west code
id: west_workflow_tool
inputs:
URLs:
doc: Urls to download upf files used for west scripts
id: URLs
inputBinding:
position: 3
type: string
input_file_array:
doc: Input file for west code. Can be pw.in, wstat.in
id: input_file_array
inputBinding:
position: 2
type:
items: File
type: array
no_of_cores:
doc: No of cores to run on 2 ,3 ,4
id: no_of_cores
inputBinding:
position: 5
type: int
script_file:
doc: West script which generates pw.out, wstat.out based on inputs
id: script_file
inputBinding:
position: 1
type: File
script_type_array:
doc: choose between pw, wstat
id: script_type_array
inputBinding:
position: 4
type:
items: string
type: array
label: Workflow tool to generates pw.out and wstat.out files
outputs:
output_file:
id: output_file
label: Output File generated with west code
outputSource: west_tool/west_output_file
type:
items: File
type: array
requirements:
ScatterFeatureRequirement: {}
steps:
west_tool:
doc: runs west.cwl
in:
URLs:
id: URLs
source: URLs
input_file:
id: input_file
source: input_file_array
no_of_cores:
id: no_of_cores
source: no_of_cores
script_file:
id: script_file
source: script_file
script_type:
id: script_type
source: script_type_array
out:
- west_output_file
run: west.cwl
scatter:
- script_type
- input_file
scatterMethod: dotproduct