Attention une mise à jour du service Gitlab va être effectuée le mardi 18 janvier (et non lundi 17 comme annoncé précédemment) entre 18h00 et 18h30. Cette mise à jour va générer une interruption du service dont nous ne maîtrisons pas complètement la durée mais qui ne devrait pas excéder quelques minutes.

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 task.py: 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