Skip to content

Commit

Permalink
Resolve merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
julianhess committed Jan 11, 2024
1 parent 521f739 commit 5667aae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion canine/orchestrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
echo -n '---- STARTING JOB SETUP ... ' >&2
source $CANINE_JOBS/$SLURM_ARRAY_TASK_ID/setup.sh
echo 'COMPLETE ----' >&2
if [ ${{{{SLURM_RESTART_COUNT:-0}}}} -ge $CANINE_PREEMPT_LIMIT ]; then
if [ $((${{{{SLURM_RESTART_COUNT:-0}}}}-$([ -f $CANINE_JOB_ROOT/.localization_failure_count ] && cat $CANINE_JOB_ROOT/.localization_failure_count || echo -n 0))) -ge $CANINE_PREEMPT_LIMIT ]; then
# localization must have completed successfully and job must not have exited with a failure
if [[ ( -e $CANINE_JOB_ROOT/.localizer_exit_code && $(cat $CANINE_JOB_ROOT/.job_exit_code) -eq 0) && \
(( -e $CANINE_JOB_ROOT/.job_exit_code && $(cat $CANINE_JOB_ROOT/.job_exit_code) -eq 0 ) || \
Expand Down

0 comments on commit 5667aae

Please sign in to comment.