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