File tree Expand file tree Collapse file tree 3 files changed +46
-1
lines changed Expand file tree Collapse file tree 3 files changed +46
-1
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ lazy val dependencies =
137
137
val dxFileAccessProtocolsVersion = " 0.5.5-SNAPSHOT"
138
138
val dxYamlVersion = " 0.1.1"
139
139
val cwlScalaVersion = " 0.8.4"
140
- val wdlToolsVersion = " 0.17.11 "
140
+ val wdlToolsVersion = " 0.17.12-SNAPSHOT "
141
141
val typesafeVersion = " 1.4.1"
142
142
val sprayVersion = " 1.3.6"
143
143
val scalatestVersion = " 3.2.9"
Original file line number Diff line number Diff line change 90
90
91
91
wdl_v1_list = [
92
92
# calling native dx applets/apps
93
+ "apps_1318_nested" ,
93
94
"call_native_v1" ,
94
95
"call_native_app" ,
95
96
"cast" ,
Original file line number Diff line number Diff line change
1
+ version 1.0
2
+ workflow apps_1318_nested {
3
+ input {
4
+ Array [Int ] foo = [1 , 2 , 3 ]
5
+ Array [Int ] bar = [100 , 200 , 300 ]
6
+ }
7
+
8
+ # Artifically construct an array of optional integers
9
+ if (true ) {
10
+ String i1 = "Hello"
11
+ }
12
+ if (false ) {
13
+ String i2 = "Cruel"
14
+ }
15
+ if (true ) {
16
+ String i3 = "World!"
17
+ }
18
+
19
+ Array [String ?] lol = [i1 , i2 , i3 ]
20
+
21
+ scatter (nested_pair in zip (zip (foo , lol ), bar )) {
22
+ call apps_1318_task1 {
23
+ input : foo_t1 = nested_pair .left .left , bar_t1 = nested_pair .right , lol_t1 = nested_pair .left .right
24
+ }
25
+ }
26
+
27
+ output {
28
+ Array [Int ] blah = apps_1318_task1 .out
29
+ }
30
+ }
31
+
32
+ task apps_1318_task1 {
33
+ input {
34
+ Int foo_t1
35
+ Int bar_t1
36
+ String ? lol_t1
37
+ }
38
+ command <<<
39
+ echo ~ {foo_t1}~{bar_t1}~{lol_t1}" _blah"
40
+ >>>
41
+ output {
42
+ Int out = 2
43
+ }
44
+ }
You can’t perform that action at this time.
0 commit comments