projects
/
arvados-vscode-cwl-training.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
265b29b
)
Tweak default to use $filebase-input.yaml instead of just input.yaml
author
Peter Amstutz <peter.amstutz@curii.com>
Fri, 22 Jan 2021 21:45:57 +0000
(16:45 -0500)
committer
Peter Amstutz <peter.amstutz@curii.com>
Fri, 22 Jan 2021 21:45:57 +0000
(16:45 -0500)
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
scripts/run-workflow
patch
|
blob
|
history
diff --git
a/scripts/run-workflow
b/scripts/run-workflow
index 3227606967fd0ec89fc5b38b10e4d6df2eb69ca4..8004f74580410c408dd9e850ae736d25c075ca9b 100755
(executable)
--- a/
scripts/run-workflow
+++ b/
scripts/run-workflow
@@
-3,7
+3,8
@@
set -e
FILE=$1
DIR=$(dirname $FILE)
. $(dirname $0)/setup-env
FILE=$1
DIR=$(dirname $FILE)
. $(dirname $0)/setup-env
-if test -s $DIR/input.yaml ; then
- INPUT=$DIR/input.yaml
+FILEBASE=$(basename "$FILE" .cwl)
+if test -s $DIR/${FILEBASE}-input.yaml ; then
+ INPUT=$DIR/${FILEBASE}-input.yaml
fi
arvados-cwl-runner $PROJECT_UUID $FILE $INPUT
fi
arvados-cwl-runner $PROJECT_UUID $FILE $INPUT