X-Git-Url: https://git.arvados.org/arvados-vscode-cwl-training.git/blobdiff_plain/265b29b2362476283010ec1d53d52ac9cb469f14..2d90965dd0a1b5fab9f887dad29d680e2d838dd1:/scripts/run-workflow diff --git a/scripts/run-workflow b/scripts/run-workflow index 3227606..8004f74 100755 --- a/scripts/run-workflow +++ b/scripts/run-workflow @@ -3,7 +3,8 @@ set -e 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