Skip to content

Commit

Permalink
fix completed
Browse files Browse the repository at this point in the history
  • Loading branch information
cramirezpe committed Oct 11, 2023
1 parent 7646db4 commit d755003
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion picca_bookkeeper/bookkeeper.py
Original file line number Diff line number Diff line change
Expand Up @@ -3107,7 +3107,7 @@ def check_existing_output_file(
if size < 40:
jobid = int(file.read_text().splitlines()[0])
status = get_Tasker(system).get_jobid_status(jobid)
if status not in ("RUNNING", "PENDING", "REQUEUED", "SUSPENDED"):
if status not in ("COMPLETED", "RUNNING", "PENDING", "REQUEUED", "SUSPENDED"):
return False
logger.info(f"{job_name}: skipping already run:\n\t{str(file)}")
return True
Expand Down

0 comments on commit d755003

Please sign in to comment.