Skip to content

Commit

Permalink
Merge pull request #355 from StarvingMarvin/master
Browse files Browse the repository at this point in the history
Specifying python2 as a python version for test scripts
  • Loading branch information
mr-c committed Mar 10, 2017
2 parents f6b6f74 + 81d5e1e commit d038d86
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion v1.0/v1.0/bwa-mem-tool.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ hints:
- class: ResourceRequirement
coresMin: 4
- class: DockerRequirement
dockerPull: python
dockerPull: python:2-slim

inputs:
- id: reference
Expand Down
2 changes: 1 addition & 1 deletion v1.0/v1.0/index.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2

# Toy program to generate inverted index of word to line.
# Takes input text file on stdin and prints output index on stdout.
Expand Down
6 changes: 3 additions & 3 deletions v1.0/v1.0/search.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cwlVersion: v1.0
$graph:
- id: index
class: CommandLineTool
baseCommand: python
baseCommand: python2
arguments:
- valueFrom: input.txt
position: 1
Expand Down Expand Up @@ -36,7 +36,7 @@ $graph:

- id: search
class: CommandLineTool
baseCommand: python
baseCommand: python2
requirements:
- class: InlineJavascriptRequirement
inputs:
Expand Down Expand Up @@ -93,4 +93,4 @@ $graph:
in:
file: "#main/index/result"
term: "#main/term"
out: [result]
out: [result]
2 changes: 1 addition & 1 deletion v1.0/v1.0/search.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2

# Toy program to search inverted index and print out each line the term
# appears.
Expand Down
2 changes: 1 addition & 1 deletion v1.0/v1.0/stagefile.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ outputs:
type: File
outputBinding:
glob: bob.txt
baseCommand: "python"
baseCommand: "python2"
arguments:
- "-c"
- |
Expand Down
2 changes: 1 addition & 1 deletion v1.1.0-dev1/v1.1.0-dev1/bwa-mem-tool.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ hints:
- class: ResourceRequirement
coresMin: 4
- class: DockerRequirement
dockerPull: python
dockerPull: python:2-slim

inputs:
- id: reference
Expand Down
2 changes: 1 addition & 1 deletion v1.1.0-dev1/v1.1.0-dev1/index.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2

# Toy program to generate inverted index of word to line.
# Takes input text file on stdin and prints output index on stdout.
Expand Down
6 changes: 3 additions & 3 deletions v1.1.0-dev1/v1.1.0-dev1/search.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cwlVersion: v1.1.0-dev1
$graph:
- id: index
class: CommandLineTool
baseCommand: python
baseCommand: python2
arguments:
- valueFrom: input.txt
position: 1
Expand Down Expand Up @@ -36,7 +36,7 @@ $graph:

- id: search
class: CommandLineTool
baseCommand: python
baseCommand: python2
requirements:
- class: InlineJavascriptRequirement
inputs:
Expand Down Expand Up @@ -93,4 +93,4 @@ $graph:
in:
file: "#main/index/result"
term: "#main/term"
out: [result]
out: [result]
2 changes: 1 addition & 1 deletion v1.1.0-dev1/v1.1.0-dev1/search.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2

# Toy program to search inverted index and print out each line the term
# appears.
Expand Down
2 changes: 1 addition & 1 deletion v1.1.0-dev1/v1.1.0-dev1/stagefile.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ outputs:
type: File
outputBinding:
glob: bob.txt
baseCommand: "python"
baseCommand: "python2"
arguments:
- "-c"
- |
Expand Down

0 comments on commit d038d86

Please sign in to comment.