File tree Expand file tree Collapse file tree 5 files changed +6
-10
lines changed Expand file tree Collapse file tree 5 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -639,11 +639,12 @@ $graph:
639
639
template.
640
640
fields :
641
641
- name : entryname
642
- type : [string, Expression]
642
+ type : ["null", string, Expression]
643
643
jsonldPredicate :
644
644
_id : cwl:entryname
645
645
doc : |
646
646
The name of the file or subdirectory to create in the output directory.
647
+ If `entry` is a File or Directory, this overrides `basename`. Optional.
647
648
- name : entry
648
649
type : [string, Expression]
649
650
jsonldPredicate :
Original file line number Diff line number Diff line change @@ -4,9 +4,7 @@ baseCommand: "true"
4
4
requirements :
5
5
InitialWorkDirRequirement:
6
6
listing :
7
- - class: File
8
- basename : $(inputs.newname)
9
- location : $(inputs.srcfile.location)
7
+ $(inputs.newname): $(inputs.srcfile.location)
10
8
inputs :
11
9
srcfile: File
12
10
newname: string
Original file line number Diff line number Diff line change 9
9
requirements :
10
10
- class: InitialWorkDirRequirement
11
11
listing :
12
- - $(inputs.file)
12
+ input.txt: $(inputs.file)
13
13
- class: InlineJavascriptRequirement
14
14
15
15
inputs :
Original file line number Diff line number Diff line change @@ -3,8 +3,7 @@ cwlVersion: draft-4.dev3
3
3
requirements :
4
4
InitialWorkDirRequirement:
5
5
listing :
6
- - class: File
7
- location : $(inputs.infile.location)
6
+ - entry : $(inputs.infile)
8
7
writable : true
9
8
inputs :
10
9
infile: File
Original file line number Diff line number Diff line change @@ -10,9 +10,7 @@ requirements:
10
10
- "var t = function(s) { return _. template(s)({'inputs': inputs}); };"
11
11
- class: InitialWorkDirRequirement
12
12
listing :
13
- - class: File
14
- basename : foo.txt
15
- contents : $(t("The file is <%= inputs. file1. path. split('/'). slice(-1)[0] %>\n" ))
13
+ foo.txt: $(t("The file is <%= inputs. file1. path. split('/'). slice(-1)[0] %>\n" ))
16
14
inputs :
17
15
- id : file1
18
16
type : File
You can’t perform that action at this time.
0 commit comments