File tree Expand file tree Collapse file tree 3 files changed +28
-2
lines changed Expand file tree Collapse file tree 3 files changed +28
-2
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,8 @@ $graph:
79
79
* Clarify behavior of `glob` to include directories.
80
80
* `secondaryFiles` can now be explicitly marked as `required` or not.
81
81
* Clarify CommandLineTool.arguments documentation
82
+ * Clarify that runtime.outdir and runtime.tmpdir must be distinct
83
+ directories.
82
84
83
85
See also the [CWL Workflow Description, v1.1.0-dev1 changelog](Workflow.html#Changelog).
84
86
@@ -727,7 +729,8 @@ $graph:
727
729
file paths in the input object to correspond to the Docker bind mounted
728
730
locations. That is, the platform should rewrite values in the parameter context
729
731
such as `runtime.outdir`, `runtime.tmpdir` and others to be valid paths
730
- within the container.
732
+ within the container. The platform must ensure that `runtime.outdir` and
733
+ `runtime.tmpdir` are distinct directories.
731
734
732
735
When running a tool contained in Docker, the workflow platform must not
733
736
assume anything about the contents of the Docker container, such as the
Original file line number Diff line number Diff line change 3002
3002
listing : []
3003
3003
tags : [ required, command_line_tool ]
3004
3004
3005
-
3006
3005
- doc : Test that array of input files can be staged to directory with entryname
3007
3006
label : stage_file_array
3008
3007
tool : tests/stage_file_array.cwl
3106
3105
}
3107
3106
]
3108
3107
tags : [ required, command_line_tool ]
3108
+
3109
+ - job : tests/empty.json
3110
+ output :
3111
+ foo :
3112
+ class : File
3113
+ basename : foo
3114
+ checksum : sha1$fa98d6085770a79e44853d575cd3ab40c0f1f4de
3115
+ tool : tests/runtime-paths-distinct.cwl
3116
+ label : tmpdir_is_not_outdir
3117
+ doc : Test that runtime.tmpdir is not runtime.outdir
3118
+ tags : [ command_line_tool ]
Original file line number Diff line number Diff line change
1
+ class: CommandLineTool
2
+ cwlVersion: v1.1.0-dev1
3
+ requirements :
4
+ ShellCommandRequirement: {}
5
+ inputs : {}
6
+ outputs :
7
+ foo: File
8
+ arguments :
9
+ - shellQuote : false
10
+ valueFrom : |
11
+ echo "cow" > "$(runtime. outdir)/foo" &&
12
+ echo "moo" > "$(runtime. tmpdir)/foo" &&
13
+ echo '{"foo": {"path": "$(runtime. outdir)/foo", "class": "File"} }' > cwl.output.json
You can’t perform that action at this time.
0 commit comments