projects
/
arvados.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
9964: Update schema revision to 20240502 for output_glob feature
[arvados.git]
/
sdk
/
cwl
/
tests
/
18994-basename
/
rename.cwl
1
# Copyright (C) The Arvados Authors. All rights reserved.
2
#
3
# SPDX-License-Identifier: Apache-2.0
4
5
class: ExpressionTool
6
cwlVersion: v1.2
7
inputs:
8
f1: File
9
newname: string
10
outputs:
11
out: File
12
expression: |
13
${
14
inputs.f1.basename = inputs.newname;
15
return {"out": inputs.f1};
16
}