File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ from cwltool .main import main
2
+
3
+ from .util import get_data , needs_docker
4
+
5
+ @needs_docker
6
+ def test_for_910 ():
7
+ assert main ([get_data ('tests/wf/910.cwl' )]) == 0
8
+ assert main ([get_data ('tests/wf/910.cwl' )]) == 0
Original file line number Diff line number Diff line change
1
+ cwlVersion: v1.0
2
+ class: CommandLineTool
3
+
4
+ requirements :
5
+ - class: InlineJavascriptRequirement
6
+ - class: InitialWorkDirRequirement
7
+ listing : |
8
+ ${
9
+ return [{"class" : "Directory" ,
10
+ "basename" : "default" ,
11
+ "listing" : [{"class" : "File" ,
12
+ "basename" : "file. txt" ,
13
+ "contents" : "Hello world" }
14
+ ],
15
+ "writable" : true}]
16
+ }
17
+
18
+ hints :
19
+ - class: DockerRequirement
20
+ dockerPull: ubuntu
21
+
22
+ inputs : []
23
+
24
+ outputs :
25
+
26
+ output_folder:
27
+ type : Directory
28
+ outputBinding :
29
+ glob : "*"
30
+
31
+ baseCommand : [ls]
You can’t perform that action at this time.
0 commit comments