File tree 10 files changed +14
-14
lines changed
10 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 8
8
- class: ResourceRequirement
9
9
coresMin : 4
10
10
- class: DockerRequirement
11
- dockerPull: python
11
+ dockerPull: python:2-slim
12
12
13
13
inputs :
14
14
- id : reference
Original file line number Diff line number Diff line change 1
- #!/usr/bin/env python
1
+ #!/usr/bin/env python2
2
2
3
3
# Toy program to generate inverted index of word to line.
4
4
# Takes input text file on stdin and prints output index on stdout.
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ cwlVersion: v1.0
2
2
$graph:
3
3
- id : index
4
4
class: CommandLineTool
5
- baseCommand : python
5
+ baseCommand : python2
6
6
arguments :
7
7
- valueFrom : input.txt
8
8
position : 1
@@ -36,7 +36,7 @@ $graph:
36
36
37
37
- id : search
38
38
class: CommandLineTool
39
- baseCommand : python
39
+ baseCommand : python2
40
40
requirements :
41
41
- class: InlineJavascriptRequirement
42
42
inputs :
@@ -93,4 +93,4 @@ $graph:
93
93
in :
94
94
file: "#main/index/result"
95
95
term: "#main/term"
96
- out : [result]
96
+ out : [result]
Original file line number Diff line number Diff line change 1
- #!/usr/bin/env python
1
+ #!/usr/bin/env python2
2
2
3
3
# Toy program to search inverted index and print out each line the term
4
4
# appears.
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ outputs:
13
13
type : File
14
14
outputBinding :
15
15
glob : bob.txt
16
- baseCommand : "python "
16
+ baseCommand : "python2 "
17
17
arguments :
18
18
- "-c"
19
19
- |
Original file line number Diff line number Diff line change 8
8
- class: ResourceRequirement
9
9
coresMin : 4
10
10
- class: DockerRequirement
11
- dockerPull: python
11
+ dockerPull: python:2-slim
12
12
13
13
inputs :
14
14
- id : reference
Original file line number Diff line number Diff line change 1
- #!/usr/bin/env python
1
+ #!/usr/bin/env python2
2
2
3
3
# Toy program to generate inverted index of word to line.
4
4
# Takes input text file on stdin and prints output index on stdout.
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ cwlVersion: v1.1.0-dev1
2
2
$graph:
3
3
- id : index
4
4
class: CommandLineTool
5
- baseCommand : python
5
+ baseCommand : python2
6
6
arguments :
7
7
- valueFrom : input.txt
8
8
position : 1
@@ -36,7 +36,7 @@ $graph:
36
36
37
37
- id : search
38
38
class: CommandLineTool
39
- baseCommand : python
39
+ baseCommand : python2
40
40
requirements :
41
41
- class: InlineJavascriptRequirement
42
42
inputs :
@@ -93,4 +93,4 @@ $graph:
93
93
in :
94
94
file: "#main/index/result"
95
95
term: "#main/term"
96
- out : [result]
96
+ out : [result]
Original file line number Diff line number Diff line change 1
- #!/usr/bin/env python
1
+ #!/usr/bin/env python2
2
2
3
3
# Toy program to search inverted index and print out each line the term
4
4
# appears.
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ outputs:
13
13
type : File
14
14
outputBinding :
15
15
glob : bob.txt
16
- baseCommand : "python "
16
+ baseCommand : "python2 "
17
17
arguments :
18
18
- "-c"
19
19
- |
You can’t perform that action at this time.
0 commit comments