From 2d90965dd0a1b5fab9f887dad29d680e2d838dd1 Mon Sep 17 00:00:00 2001 From: Peter Amstutz Date: Fri, 22 Jan 2021 16:45:57 -0500 Subject: [PATCH] Tweak default to use $filebase-input.yaml instead of just input.yaml Arvados-DCO-1.1-Signed-off-by: Peter Amstutz --- scripts/run-workflow | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.30.2