Skip to content

Commit d038d86

Browse files
authored
Merge pull request #355 from StarvingMarvin/master
Specifying python2 as a python version for test scripts
2 parents f6b6f74 + 81d5e1e commit d038d86

File tree

10 files changed

+14
-14
lines changed

10 files changed

+14
-14
lines changed

v1.0/v1.0/bwa-mem-tool.cwl

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ hints:
88
- class: ResourceRequirement
99
coresMin: 4
1010
- class: DockerRequirement
11-
dockerPull: python
11+
dockerPull: python:2-slim
1212

1313
inputs:
1414
- id: reference

v1.0/v1.0/index.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python2
22

33
# Toy program to generate inverted index of word to line.
44
# Takes input text file on stdin and prints output index on stdout.

v1.0/v1.0/search.cwl

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ cwlVersion: v1.0
22
$graph:
33
- id: index
44
class: CommandLineTool
5-
baseCommand: python
5+
baseCommand: python2
66
arguments:
77
- valueFrom: input.txt
88
position: 1
@@ -36,7 +36,7 @@ $graph:
3636

3737
- id: search
3838
class: CommandLineTool
39-
baseCommand: python
39+
baseCommand: python2
4040
requirements:
4141
- class: InlineJavascriptRequirement
4242
inputs:
@@ -93,4 +93,4 @@ $graph:
9393
in:
9494
file: "#main/index/result"
9595
term: "#main/term"
96-
out: [result]
96+
out: [result]

v1.0/v1.0/search.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python2
22

33
# Toy program to search inverted index and print out each line the term
44
# appears.

v1.0/v1.0/stagefile.cwl

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ outputs:
1313
type: File
1414
outputBinding:
1515
glob: bob.txt
16-
baseCommand: "python"
16+
baseCommand: "python2"
1717
arguments:
1818
- "-c"
1919
- |

v1.1.0-dev1/v1.1.0-dev1/bwa-mem-tool.cwl

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ hints:
88
- class: ResourceRequirement
99
coresMin: 4
1010
- class: DockerRequirement
11-
dockerPull: python
11+
dockerPull: python:2-slim
1212

1313
inputs:
1414
- id: reference

v1.1.0-dev1/v1.1.0-dev1/index.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python2
22

33
# Toy program to generate inverted index of word to line.
44
# Takes input text file on stdin and prints output index on stdout.

v1.1.0-dev1/v1.1.0-dev1/search.cwl

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ cwlVersion: v1.1.0-dev1
22
$graph:
33
- id: index
44
class: CommandLineTool
5-
baseCommand: python
5+
baseCommand: python2
66
arguments:
77
- valueFrom: input.txt
88
position: 1
@@ -36,7 +36,7 @@ $graph:
3636

3737
- id: search
3838
class: CommandLineTool
39-
baseCommand: python
39+
baseCommand: python2
4040
requirements:
4141
- class: InlineJavascriptRequirement
4242
inputs:
@@ -93,4 +93,4 @@ $graph:
9393
in:
9494
file: "#main/index/result"
9595
term: "#main/term"
96-
out: [result]
96+
out: [result]

v1.1.0-dev1/v1.1.0-dev1/search.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python2
22

33
# Toy program to search inverted index and print out each line the term
44
# appears.

v1.1.0-dev1/v1.1.0-dev1/stagefile.cwl

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ outputs:
1313
type: File
1414
outputBinding:
1515
glob: bob.txt
16-
baseCommand: "python"
16+
baseCommand: "python2"
1717
arguments:
1818
- "-c"
1919
- |

0 commit comments

Comments
 (0)