Skip to content

Commit 5dba12b

Browse files
author
Peter Amstutz
committed
Add InitialWorkDirRequirement, supercedes CreateFileRequirement.
1 parent 4efa80b commit 5dba12b

File tree

2 files changed

+31
-2
lines changed

2 files changed

+31
-2
lines changed

draft-4/CommandLineTool.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -626,11 +626,39 @@ $graph:
626626
Docker container.
627627
628628
629+
- name: DirentExt
630+
type: record
631+
fields:
632+
- name: entryname
633+
type: [string, Expression]
634+
jsonldPredicate:
635+
"_id": cwl:entryname
636+
- name: entry
637+
type: [string, Expression]
638+
"_id": cwl:entry
639+
640+
641+
- name: InitialWorkDirRequirement
642+
type: record
643+
extends: ProcessRequirement
644+
fields:
645+
- name: listing
646+
type:
647+
- type: array
648+
items: DirentExt
649+
- Expression
650+
jsonldPredicate:
651+
_id: "cwl:listing"
652+
mapSubject: entryname
653+
mapPredicate: entry
654+
629655

630656
- name: CreateFileRequirement
631657
type: record
632658
extends: "#ProcessRequirement"
633659
doc: |
660+
*Deprecated*, superceded by InitialWorkDirRequirement.
661+
634662
Define a list of files that must be created by the workflow
635663
platform in the designated output directory prior to executing the command
636664
line tool. See `FileDef` for details.

draft-4/Process.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,8 @@ $graph:
186186
"_id": cwl:entryname
187187
- name: entry
188188
type: [File, Directory]
189-
189+
jsonldPredicate:
190+
"_id": cwl:entry
190191

191192
- name: Directory
192193
type: record
@@ -229,7 +230,7 @@ $graph:
229230
doc: List of files or subdirectories contained in this directory
230231
jsonldPredicate:
231232
_id: "cwl:listing"
232-
mapSubject: basename
233+
mapSubject: entryname
233234
mapPredicate: entry
234235

235236
- name: SchemaBase

0 commit comments

Comments
 (0)