Skip to content

Commit

Permalink
updated names of environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
kvegesna committed Nov 1, 2023
1 parent 132f3e6 commit 22296f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
# Load input files
case ${SIMULATION_TYPE} in
AWS)
INPUT_FILE_PATH="${BATCH_JOB_URL}${FILE_SET_NAME}/config/"
OUTPUT_FILE_PATH="${BATCH_JOB_URL}${FILE_SET_NAME}/outputs/${AWS_BATCH_JOB_ARRAY_INDEX:-0}/"
INPUT_FILE_PATH="${BATCH_WORKING_URL}${FILE_SET_NAME}/config/"
OUTPUT_FILE_PATH="${BATCH_WORKING_URL}${FILE_SET_NAME}/outputs/${AWS_BATCH_JOB_ARRAY_INDEX:-0}/"
INPUT_FILE_NAME="${FILE_SET_NAME}_${AWS_BATCH_JOB_ARRAY_INDEX:-0}.cym"
aws s3 cp $INPUT_FILE_PATH$INPUT_FILE_NAME config.cym
;;
LOCAL)
INPUT_FILE_PATH="/mnt/${SIMULATION_NAME}/config/"
OUTPUT_FILE_PATH="/mnt/${SIMULATION_NAME}/outputs/${JOB_ARRAY_INDEX}/"
INgitPUT_FILE_NAME="${SIMULATION_NAME}_${JOB_ARRAY_INDEX}.cym"
INPUT_FILE_NAME="${SIMULATION_NAME}_${JOB_ARRAY_INDEX}.cym"
cp $INPUT_FILE_PATH$INPUT_FILE_NAME config.cym
;;
esac
Expand Down

0 comments on commit 22296f1

Please sign in to comment.