From dd55d4f84954ad95e1161c733ffbd08c28022d97 Mon Sep 17 00:00:00 2001 From: lb584 <lb584@cam.ac.uk> Date: Thu, 18 Aug 2022 12:13:20 +0100 Subject: [PATCH] restoring commented-out code from dev --- Processor.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Processor.py b/Processor.py index 6be77cb..90ea12c 100755 --- a/Processor.py +++ b/Processor.py @@ -416,11 +416,10 @@ def run_Process(): with jobStatus(jobPath) as status: # check for a status file in job directory - ##todo lawrence comment this back in - # if status.had_initial_status: - # logger.info(f"Job path already exists and has status {status.status}") - # - # endScript(premature = status.status not in ['SUCCESS','INPROGRESS']) + if status.had_initial_status: + logger.info(f"Job path already exists and has status {status.status}") + + endScript(premature = status.status not in ['SUCCESS','INPROGRESS']) logger.info(f"Current status of job directory is {status.status}") -- GitLab