Commit 2149c28e authored by Ryan Herbert's avatar Ryan Herbert
Browse files

Merge branch 'hotfix-s/fix-queued-jobs' into 'prod-server'

fix queued jobs

See merge request !256

(cherry picked from commit 711c754f)

3dc5bccb DONE also exists
parent de494035
Pipeline #34276 passed with stages
in 43 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