Skip to content

Commit 6fe656c

Browse files
ThomasHickmanbogdang989
authored andcommitted
Clarify secondaryFiles behaviour (#6)
* Clarify secondaryFiles behavior In the previous reading of the specification, it is unclear whether setting the secondaryFiles in inputs/outputs must affect the secondaryFiles attribute of primary files and therefore make the secondaryFiles attribute travel with the primary files.
1 parent 4b8865b commit 6fe656c

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

CommandLineTool.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,9 @@ $graph:
7070
* Clarify semantics of `shellQuote`
7171
* Expressions are now allowed to evaluate to `null` or `Dirent` in
7272
[InitialWorkDirRequirement.listing](#InitialWorkDirRequirement).
73+
* Clarify behavior of secondaryFiles on output.
7374
* [Addition](#Requirements_and_hints) of `cwl:requirements` field to
74-
input object documents
75+
input object documents.
7576
* Clarify behavior of `glob` for absolute paths and symlinks.
7677
* Clarify behavior of `glob` to include directories.
7778

Process.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -467,9 +467,11 @@ $graph:
467467
Only valid when `type: File` or is an array of `items: File`.
468468
469469
Provides a pattern or expression specifying files or directories that
470-
must be included alongside the primary file. All listed secondary
471-
files must be present. An implementation may fail workflow execution
472-
if an expected secondary file does not exist.
470+
must be included alongside the primary file. An implementation must append
471+
these files/directories to the `secondaryFiles` property of the primary file.
472+
These files/directories must be transferred alongside the primary file.
473+
An implementation may fail workflow execution if an expected secondary file
474+
does not exist.
473475
474476
If the value is an expression, the value of `self` in the expression
475477
must be the primary input or output File object to which this binding

0 commit comments

Comments
 (0)