File tree Expand file tree Collapse file tree 5 files changed +26
-4
lines changed Expand file tree Collapse file tree 5 files changed +26
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
class: CommandLineTool
4
4
cwlVersion: v1.0
5
-
5
+ hints :
6
+ - class: DockerRequirement
7
+ dockerPull: python:2-slim
6
8
inputs :
7
9
- id : reference
8
10
type : File
Original file line number Diff line number Diff line change 3
3
"class" : "CommandLineTool" ,
4
4
"cwlVersion" : "v1. 0" ,
5
5
"doc" : "Print the contents of a file to stdout using 'cat' running in a docker container. " ,
6
+ "hints" : [
7
+ {
8
+ "class" : "DockerRequirement" ,
9
+ "dockerPull" : "python:2-slim"
10
+ }
11
+ ],
6
12
"inputs" : [
7
13
{
8
14
"id" : "file1" ,
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 : python2
5
+ baseCommand : python
6
6
arguments :
7
7
- valueFrom : input.txt
8
8
position : 1
@@ -12,6 +12,9 @@ $graph:
12
12
- entryname : input.txt
13
13
entry : $(inputs.file)
14
14
- class: InlineJavascriptRequirement
15
+ hints :
16
+ - class: DockerRequirement
17
+ dockerPull: python:2-slim
15
18
16
19
inputs :
17
20
file: File
@@ -36,9 +39,12 @@ $graph:
36
39
37
40
- id : search
38
41
class: CommandLineTool
39
- baseCommand : python2
42
+ baseCommand : python
40
43
requirements :
41
44
- class: InlineJavascriptRequirement
45
+ hints :
46
+ - class: DockerRequirement
47
+ dockerPull: python:2-slim
42
48
inputs :
43
49
file:
44
50
type : File
Original file line number Diff line number Diff line change 1
1
class: CommandLineTool
2
2
cwlVersion: v1.0
3
+ hints :
4
+ - class: DockerRequirement
5
+ dockerPull: python:2-slim
3
6
requirements :
4
7
InitialWorkDirRequirement:
5
8
listing :
Original file line number Diff line number Diff line change 3
3
"cwlVersion" : "v1. 0" ,
4
4
5
5
"class" : "CommandLineTool" ,
6
-
6
+ "hints" : [
7
+ {
8
+ "class" : "DockerRequirement" ,
9
+ "dockerPull" : "python:2-slim"
10
+ }
11
+ ],
7
12
"inputs" : [
8
13
{
9
14
"id" : "reads" ,
You can’t perform that action at this time.
0 commit comments