File tree Expand file tree Collapse file tree 7 files changed +71
-1
lines changed Expand file tree Collapse file tree 7 files changed +71
-1
lines changed Original file line number Diff line number Diff line change 735
735
],
736
736
}
737
737
tool : draft-4/dir3.cwl
738
- doc : Test directory input in Docker
738
+ doc : Test directory input in Docker
739
+
740
+ - job : draft-4/dir4-job.yml
741
+ output :
742
+ " outlist " : {
743
+ " size " : 20,
744
+ " location " : " output.txt" ,
745
+ " checksum " : " sha1$13cda8661796ae241da3a18668fb552161a72592" ,
746
+ " class " : " File"
747
+ }
748
+ tool : draft-4/dir4.cwl
749
+ doc : Test directories in secondaryFiles
750
+
751
+ - job : draft-4/dir-job.yml
752
+ output : {
753
+ " outlist " : {
754
+ " checksum " : " sha1$907a866a3e0b7f1fc5a2222531c5fb9063704438" ,
755
+ " path " : " /home/peter/work/common-workflow-language/draft-4/draft-4/output.txt" ,
756
+ " size " : 33,
757
+ " location " : " file:///home/peter/work/common-workflow-language/draft-4/draft-4/output.txt" ,
758
+ " class " : " File"
759
+ }
760
+ }
761
+ tool : draft-4/dir5.cwl
762
+ doc : Test dynamic initial work dir
Original file line number Diff line number Diff line change
1
+ inf :
2
+ class : File
3
+ location : hello.tar
4
+ secondaryFiles :
5
+ - class : File
6
+ location : index.py
7
+ - entryname : testdir
8
+ entry :
9
+ class : Directory
10
+ location : testdir
Original file line number Diff line number Diff line change
1
+ class: CommandLineTool
2
+ cwlVersion: draft-4.dev3
3
+ requirements :
4
+ - class: ShellCommandRequirement
5
+ inputs :
6
+ inf: File
7
+ outputs :
8
+ outlist:
9
+ type : File
10
+ outputBinding :
11
+ glob : output.txt
12
+ baseCommand : []
13
+ arguments : ["cd" , "$(inputs. inf. dirname)" ,
14
+ {shellQuote : false, valueFrom : "&&" },
15
+ "find" , ". " ,
16
+ {shellQuote : false, valueFrom : "|" },
17
+ "sort" ]
18
+ stdout : output.txt
Original file line number Diff line number Diff line change
1
+ class: CommandLineTool
2
+ cwlVersion: draft-4.dev3
3
+ requirements :
4
+ - class: ShellCommandRequirement
5
+ - class: InitialWorkDirRequirement
6
+ listing : $(inputs.indir.listing)
7
+ inputs :
8
+ indir: Directory
9
+ outputs :
10
+ outlist:
11
+ type : File
12
+ outputBinding :
13
+ glob : output.txt
14
+ baseCommand : []
15
+ arguments : ["find" , ". " ,
16
+ {shellQuote : false, valueFrom : "|" },
17
+ "sort" ]
18
+ stdout : output.txt
You can’t perform that action at this time.
0 commit comments