Skip to content

Commit fb540b5

Browse files
authored
$namespaces are available to the input object (#53)
1 parent 39c5c18 commit fb540b5

File tree

4 files changed

+10
-1
lines changed

4 files changed

+10
-1
lines changed

CommandLineTool.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@ $graph:
111111
* For multi-Process CWL documents, if no particular process is named then
112112
the process with the `id` of `#main` is chosen.
113113
* Added explicit defaults for [ResourceRequirement](#ResourceRequirement)s.
114+
* [Made explicit](#Generic_execution_process) that the `$namespaces` of
115+
the top level CWL document are also available to the input object as
116+
well.
114117
115118
See also the [CWL Workflow Description, v1.1.0-dev1 changelog](Workflow.html#Changelog).
116119

Workflow.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@ $graph:
9494
incorrectly listed as optional.
9595
* For multi-Process CWL documents, if no particular process is named then
9696
the process with the `id` of `#main` is chosen.
97+
* [Made explicit](#Generic_execution_process) that the `$namespaces` of
98+
the top level CWL document are also available to the input object as
99+
well.
97100
98101
See also the [CWL Command Line Tool Description, v1.1.0-dev1 changelog](CommandLineTool.html#Changelog).
99102

concepts.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,8 @@ command line line tools) is as follows.
368368

369369
1. Load input object.
370370
1. Load, process and validate a CWL document, yielding one or more process objects.
371+
The [`$namespaces`](SchemaSalad.html#Explicit_context) present in the CWL document
372+
are also used when validating and processing the input object.
371373
1. If there are multiple process objects (due to [`$graph`](SchemaSalad.html#Document_graph))
372374
and which process object to start with is not specified in the input object (via
373375
a [`cwl:tool`](#Executing_CWL_documents_as_scripts) entry) or by any other means

conformance_tests.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3228,7 +3228,8 @@
32283228
label: inputBinding_position_expr
32293229
output:
32303230
out: "🕺 1 singular sensation!\n"
3231-
doc: TBD
3231+
doc: |
3232+
Test for expression in the InputBinding.position field; also test using emoji in CWL document and tool output
32323233
tags: [ command_line_tool, required ]
32333234

32343235
- job: tests/empty.json

0 commit comments

Comments
 (0)