Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
genotoul-bioinfo
D-GENIES
Commits
ccbf1a7d
Commit
ccbf1a7d
authored
Jan 30, 2018
by
Floreal Cabanettes
Browse files
Fix count of cluster started jobs in scheduler
parent
69f46f0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/dgenies/bin/local_scheduler.py
View file @
ccbf1a7d
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment