Commit 3dc5bccb authored by Mikaël Salson's avatar Mikaël Salson
Browse files

task.py: DONE also exists

Completes 0d15b239. Corrects 82b18b8a
parent 0822d62e
Pipeline #34274 passed with stages
in 30 seconds
......@@ -152,7 +152,7 @@ def run_vidjil(id_file, id_config, id_data, grep_reads,
from datetime import timedelta as timed
## re schedule if pre_process is still pending
if db.sequence_file[id_file].pre_process_flag != "COMPLETED" and db.sequence_file[id_file].pre_process_flag:
if db.sequence_file[id_file].pre_process_flag not in ["COMPLETED", "DONE"] and db.sequence_file[id_file].pre_process_flag:
print("Pre-process is still pending, re-schedule")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment