projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
19109: test/fix for related bug, finding secondary files with expressions
[arvados.git]
/
sdk
/
cwl
/
tests
/
19109-upload-secondary.cwl
diff --git
a/sdk/cwl/tests/19109-upload-secondary.cwl
b/sdk/cwl/tests/19109-upload-secondary.cwl
index cf5855ab19356c64670e9e5dd04ae77a0d0d0ffb..933496b6a5dd70ceb76e836f40088dee51a138f4 100644
(file)
--- a/
sdk/cwl/tests/19109-upload-secondary.cwl
+++ b/
sdk/cwl/tests/19109-upload-secondary.cwl
@@
-4,19
+4,39
@@
cwlVersion: v1.2
class: Workflow
cwlVersion: v1.2
class: Workflow
+
+requirements:
+ InlineJavascriptRequirement: {}
+
inputs:
file1:
type: File?
secondaryFiles:
- pattern: .tbi
required: true
inputs:
file1:
type: File?
secondaryFiles:
- pattern: .tbi
required: true
+ file2:
+ type: File
+ secondaryFiles:
+ - pattern: |
+ ${
+ return self.basename + '.tbi';
+ }
+ required: true
outputs:
out:
type: File
outputSource: cat/out
outputs:
out:
type: File
outputSource: cat/out
+ out2:
+ type: File
+ outputSource: cat2/out
steps:
cat:
in:
inp: file1
run: cat2.cwl
out: [out]
steps:
cat:
in:
inp: file1
run: cat2.cwl
out: [out]
+ cat2:
+ in:
+ inp: file2
+ run: cat2.cwl
+ out: [out]