Skip to content

Commit c95d302

Browse files
author
Peter Amstutz
committed
Add test using $(inputs.file.nameroot) in stdout field.
1 parent c256c08 commit c95d302

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

v1.0/conformance_test_v1.0.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -798,4 +798,14 @@
798798
class: File
799799
size: 184
800800
tool: examples/linkfile.cwl
801-
doc: The expression in InitialWorkDir listing
801+
doc: Test expression in InitialWorkDir listing
802+
803+
- job: v1.0/wc-job.json
804+
output:
805+
b:
806+
checksum: sha1$c4cfd130e7578714e3eef91c1d6d90e0e0b9db3e
807+
location: whale.xtx
808+
class: File
809+
size: 21
810+
tool: v1.0/nameroot.cwl
811+
doc: Test nameroot/nameext expression in arguments, stdout

v1.0/v1.0/nameroot.cwl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
cwlVersion: v1.0
2+
class: CommandLineTool
3+
inputs:
4+
file1: File
5+
outputs:
6+
b: stdout
7+
stdout: $(inputs.file1.nameroot).xtx
8+
baseCommand: []
9+
arguments: [echo, $(inputs.file1.basename), $(inputs.file1.nameroot), $(inputs.file1.nameext)]

0 commit comments

Comments
 (0)