projects
/
arvados-vscode-cwl-template.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tweak default to use $filebase-input.yaml instead of just input.yaml
[arvados-vscode-cwl-template.git]
/
scripts
/
run-workflow
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