Skip to content

Commit 9426e5d

Browse files
authored
Slightly clarify requirement inheritance (#132)
1 parent ed32d52 commit 9426e5d

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

concepts.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -468,18 +468,18 @@ only the `InlineJavascriptRequirement`, `SchemaDefRequirement`, `DockerRequireme
468468
*As good practice, it is best to have process requirements be self-contained,
469469
such that each process can run successfully by itself.*
470470

471-
If the same process requirement appears at different levels of the
472-
workflow, the most specific instance of the requirement is used, that is,
473-
an entry in `requirements` on a process implementation such as
474-
CommandLineTool will take precedence over an entry in `requirements`
475-
specified in a workflow step, and an entry in `requirements` on a workflow
476-
step takes precedence over the workflow. Entries in `hints` are resolved
477-
the same way.
471+
If a process requirement of the same type appears at different levels
472+
of the workflow, the most specific instance of the requirement is
473+
used, that is, an entry in `requirements` on a process implementation
474+
such as CommandLineTool will wholly replace an entry in `requirements`
475+
specified in a workflow step, and an entry in `requirements` on a
476+
workflow step takes precedence over the workflow. Entries in `hints`
477+
are resolved the same way.
478478

479479
Requirements override hints. If a process implementation provides a
480480
process requirement in `hints` which is also provided in `requirements` by
481-
an enclosing workflow or workflow step, the enclosing `requirements` takes
482-
precedence.
481+
an enclosing workflow or workflow step, the enclosing `requirements`
482+
wholly replaces the hint.
483483

484484
## Parameter references
485485

0 commit comments

Comments
 (0)