Commit ccbf1a7d authored by Floreal Cabanettes's avatar Floreal Cabanettes
Browse files

Fix count of cluster started jobs in scheduler

parent 69f46f0f
......@@ -149,7 +149,8 @@ def parse_started_jobs():
elif job.status == "prepare-scheduled" and status == drmaa.JobState.RUNNING:
job.status = "preparing-cluster"
job.save()
cluster_jobs_started.append(job.id_job)
elif job.status == "started":
cluster_jobs_started.append(job.id_job)
else:
cluster_jobs_started.append(job.id_job)
return jobs_started, cluster_jobs_started
......
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