Skip to content

Commit

Permalink
finished fixes to #118
Browse files Browse the repository at this point in the history
  • Loading branch information
jcblemai committed Nov 3, 2023
1 parent 03b89f3 commit 1420732
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions batch/SLURM_inference_job.run
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ if [[ -n "$LAST_JOB_OUTPUT" ]]; then # -n Checks if the length of a string is n
aws s3 cp --quiet $LAST_JOB_OUTPUT/$IN_FILENAME $OUT_FILENAME
else
# cp does not create directorys, so we make the directories first
export $OUT_FILENAME_DIR="$(dirname "${OUT_FILENAME}")"
export OUT_FILENAME_DIR="$(dirname "${OUT_FILENAME}")"
mkdir -p $OUT_FILENAME_DIR
cp $LAST_JOB_OUTPUT/$IN_FILENAME $OUT_FILENAME
fi
Expand Down Expand Up @@ -115,7 +115,7 @@ if [[ $FLEPI_CONTINUATION == "TRUE" ]]; then
aws s3 cp --quiet $FLEPI_CONTINUATION_LOCATION/$IN_FILENAME $INIT_FILENAME
else
# cp does not create directorys, so we make the directories first
export $OUT_FILENAME_DIR="$(dirname "${INIT_FILENAME}")"
export OUT_FILENAME_DIR="$(dirname "${INIT_FILENAME}")"
mkdir -p $OUT_FILENAME_DIR
cp $FLEPI_CONTINUATION_LOCATION/$IN_FILENAME $INIT_FILENAME
fi
Expand Down Expand Up @@ -240,7 +240,7 @@ do
index=$FLEPI_BLOCK_INDEX,
ftype='$type',
extension='parquet'))")
export $OUT_FILENAME_DIR="$(dirname "${FS_RESULTS_PATH}/${FILENAME}")"
export OUT_FILENAME_DIR="$(dirname "${FS_RESULTS_PATH}/${FILENAME}")"
mkdir -p $OUT_FILENAME_DIR
cp --parents $FILENAME $FS_RESULTS_PATH
done
Expand All @@ -253,7 +253,7 @@ do
$FLEPI_BLOCK_INDEX,
ftype='$type',
extension='csv'))")
export $OUT_FILENAME_DIR="$(dirname "${FS_RESULTS_PATH}/${FILENAME}")"
export OUT_FILENAME_DIR="$(dirname "${FS_RESULTS_PATH}/${FILENAME}")"
mkdir -p $OUT_FILENAME_DIR
cp --parents $FILENAME $FS_RESULTS_PATH
done
Expand All @@ -266,7 +266,7 @@ do
index=$FLEPI_BLOCK_INDEX,
ftype='$type',
extension='csv'))")
export $OUT_FILENAME_DIR="$(dirname "${FS_RESULTS_PATH}/${FILENAME}")"
export OUT_FILENAME_DIR="$(dirname "${FS_RESULTS_PATH}/${FILENAME}")"
mkdir -p $OUT_FILENAME_DIR
cp --parents $FILENAME $FS_RESULTS_PATH
done
Expand All @@ -279,7 +279,7 @@ do
index=$FLEPI_BLOCK_INDEX,
ftype='$type',
extension='parquet'))")
export $OUT_FILENAME_DIR="$(dirname "${FS_RESULTS_PATH}/${FILENAME}")"
export OUT_FILENAME_DIR="$(dirname "${FS_RESULTS_PATH}/${FILENAME}")"
mkdir -p $OUT_FILENAME_DIR
cp --parents $FILENAME $FS_RESULTS_PATH
done
Expand All @@ -291,7 +291,7 @@ do
index=$FLEPI_SLOT_INDEX,
ftype='$type',
extension='parquet'))")
export $OUT_FILENAME_DIR="$(dirname "${FS_RESULTS_PATH}/${FILENAME}")"
export OUT_FILENAME_DIR="$(dirname "${FS_RESULTS_PATH}/${FILENAME}")"
mkdir -p $OUT_FILENAME_DIR
cp --parents $FILENAME $FS_RESULTS_PATH
done
Expand All @@ -303,7 +303,7 @@ do
index=$FLEPI_SLOT_INDEX,
ftype='$type',
extension='csv'))")
export $OUT_FILENAME_DIR="$(dirname "${FS_RESULTS_PATH}/${FILENAME}")"
export OUT_FILENAME_DIR="$(dirname "${FS_RESULTS_PATH}/${FILENAME}")"
mkdir -p $OUT_FILENAME_DIR
cp --parents $FILENAME $FS_RESULTS_PATH
done
Expand Down

0 comments on commit 1420732

Please sign in to comment.