File tree 7 files changed +56
-0
lines changed
7 files changed +56
-0
lines changed Original file line number Diff line number Diff line change 3393
3393
}
3394
3394
tags : [ required, command_line_tool ]
3395
3395
3396
+ - id : glob_list
3397
+ tool : tests/glob-list.cwl
3398
+ job : tests/dir-job1.yml
3399
+ doc : Test the glob can be a list
3400
+ output : {
3401
+ " result " : [
3402
+ {
3403
+ " basename " : " a.txt" ,
3404
+ " checksum " : " sha1$2ef7bde608ce5404e97d5f042f95f89f1c232871" ,
3405
+ " class " : " File" ,
3406
+ " location " : Any,
3407
+ " size " : 12
3408
+ },
3409
+ {
3410
+ " basename " : " c.txt" ,
3411
+ " checksum " : " sha1$64d7a4802661604891785536e490635a8406f103" ,
3412
+ " class " : " File" ,
3413
+ " location " : Any,
3414
+ " size " : 36
3415
+ },
3416
+ {
3417
+ " basename " : " b.csv" ,
3418
+ " checksum " : " sha1$34bd0059091490789ffcd3fe421df8d4e5388b76" ,
3419
+ " class " : " File" ,
3420
+ " location " : Any,
3421
+ " size " : 7
3422
+ }
3423
+ ]
3424
+ }
3425
+ tags : [ required, command_line_tool ]
3426
+
3396
3427
- id : capture_files
3397
3428
tool : tests/capture-files.cwl
3398
3429
job : tests/dir-job.yml
Original file line number Diff line number Diff line change
1
+ indir :
2
+ class : Directory
3
+ location : testdir1
Original file line number Diff line number Diff line change
1
+ cwlVersion: v1.3.0-dev1
2
+ class: CommandLineTool
3
+ baseCommand : [cp, -r]
4
+ arguments :
5
+ - position : 2
6
+ valueFrom : $(runtime.outdir)
7
+ inputs :
8
+ indir:
9
+ type : Directory
10
+ inputBinding :
11
+ position : 1
12
+ outputs :
13
+ result:
14
+ type : File []
15
+ outputBinding :
16
+ glob :
17
+ - "$(inputs. indir. basename)/*. txt"
18
+ - "$(inputs. indir. basename)/*. csv"
Original file line number Diff line number Diff line change
1
+ Hello World!
Original file line number Diff line number Diff line change
1
+ 1,2
2
+ 3,4
Original file line number Diff line number Diff line change
1
+ Hello from Common Workflow Language!
You can’t perform that action at this time.
0 commit comments