diff --git a/v1.0/v1.0/bwa-mem-tool.cwl b/v1.0/v1.0/bwa-mem-tool.cwl index 6fe1d1794..f7c0ae6e2 100755 --- a/v1.0/v1.0/bwa-mem-tool.cwl +++ b/v1.0/v1.0/bwa-mem-tool.cwl @@ -8,7 +8,7 @@ hints: - class: ResourceRequirement coresMin: 4 - class: DockerRequirement - dockerPull: python + dockerPull: python:2-alpine inputs: - id: reference diff --git a/v1.0/v1.0/index.py b/v1.0/v1.0/index.py index 8abc84061..65acd921b 100755 --- a/v1.0/v1.0/index.py +++ b/v1.0/v1.0/index.py @@ -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. diff --git a/v1.0/v1.0/search.cwl b/v1.0/v1.0/search.cwl index 9df391072..1c976e048 100644 --- a/v1.0/v1.0/search.cwl +++ b/v1.0/v1.0/search.cwl @@ -2,7 +2,7 @@ cwlVersion: v1.0 $graph: - id: index class: CommandLineTool - baseCommand: python + baseCommand: python2 arguments: - valueFrom: input.txt position: 1 @@ -36,7 +36,7 @@ $graph: - id: search class: CommandLineTool - baseCommand: python + baseCommand: python2 requirements: - class: InlineJavascriptRequirement inputs: @@ -93,4 +93,4 @@ $graph: in: file: "#main/index/result" term: "#main/term" - out: [result] \ No newline at end of file + out: [result] diff --git a/v1.0/v1.0/search.py b/v1.0/v1.0/search.py index e057b04a6..ffd34e5df 100755 --- a/v1.0/v1.0/search.py +++ b/v1.0/v1.0/search.py @@ -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. diff --git a/v1.0/v1.0/stagefile.cwl b/v1.0/v1.0/stagefile.cwl index 817e9f1c5..242f10fe6 100644 --- a/v1.0/v1.0/stagefile.cwl +++ b/v1.0/v1.0/stagefile.cwl @@ -13,7 +13,7 @@ outputs: type: File outputBinding: glob: bob.txt -baseCommand: "python" +baseCommand: "python2" arguments: - "-c" - | diff --git a/v1.1.0-dev1/v1.1.0-dev1/bwa-mem-tool.cwl b/v1.1.0-dev1/v1.1.0-dev1/bwa-mem-tool.cwl index 3775b7cd3..9fc576405 100755 --- a/v1.1.0-dev1/v1.1.0-dev1/bwa-mem-tool.cwl +++ b/v1.1.0-dev1/v1.1.0-dev1/bwa-mem-tool.cwl @@ -8,7 +8,7 @@ hints: - class: ResourceRequirement coresMin: 4 - class: DockerRequirement - dockerPull: python + dockerPull: python:2-alpine inputs: - id: reference diff --git a/v1.1.0-dev1/v1.1.0-dev1/index.py b/v1.1.0-dev1/v1.1.0-dev1/index.py index 8abc84061..65acd921b 100755 --- a/v1.1.0-dev1/v1.1.0-dev1/index.py +++ b/v1.1.0-dev1/v1.1.0-dev1/index.py @@ -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. diff --git a/v1.1.0-dev1/v1.1.0-dev1/search.cwl b/v1.1.0-dev1/v1.1.0-dev1/search.cwl index f63086b6d..d0ff147d6 100644 --- a/v1.1.0-dev1/v1.1.0-dev1/search.cwl +++ b/v1.1.0-dev1/v1.1.0-dev1/search.cwl @@ -2,7 +2,7 @@ cwlVersion: v1.1.0-dev1 $graph: - id: index class: CommandLineTool - baseCommand: python + baseCommand: python2 arguments: - valueFrom: input.txt position: 1 @@ -36,7 +36,7 @@ $graph: - id: search class: CommandLineTool - baseCommand: python + baseCommand: python2 requirements: - class: InlineJavascriptRequirement inputs: @@ -93,4 +93,4 @@ $graph: in: file: "#main/index/result" term: "#main/term" - out: [result] \ No newline at end of file + out: [result] diff --git a/v1.1.0-dev1/v1.1.0-dev1/search.py b/v1.1.0-dev1/v1.1.0-dev1/search.py index e057b04a6..ffd34e5df 100755 --- a/v1.1.0-dev1/v1.1.0-dev1/search.py +++ b/v1.1.0-dev1/v1.1.0-dev1/search.py @@ -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. diff --git a/v1.1.0-dev1/v1.1.0-dev1/stagefile.cwl b/v1.1.0-dev1/v1.1.0-dev1/stagefile.cwl index eea3e4100..3e383e95b 100644 --- a/v1.1.0-dev1/v1.1.0-dev1/stagefile.cwl +++ b/v1.1.0-dev1/v1.1.0-dev1/stagefile.cwl @@ -13,7 +13,7 @@ outputs: type: File outputBinding: glob: bob.txt -baseCommand: "python" +baseCommand: "python2" arguments: - "-c" - |