Skip to content
GitLab
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
497bcc52
Commit
497bcc52
authored
Apr 10, 2018
by
Floreal Cabanettes
Browse files
Fix bug on webserver mode
parent
39ca7258
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/dgenies/lib/job_manager.py
View file @
497bcc52
...
...
@@ -1188,7 +1188,7 @@ class JobManager:
print
(
"Old job found without result dir existing: delete it from BDD!"
)
for
j11
in
j1
:
j11
.
delete_instance
()
if
self
.
target
is
not
None
:
if
self
.
target
is
not
None
or
self
.
backup
is
not
None
:
job
=
Job
.
create
(
id_job
=
self
.
id_job
,
email
=
self
.
email
,
batch_type
=
self
.
config
.
batch_system_type
,
date_created
=
datetime
.
now
(),
tool
=
self
.
tool
.
name
if
self
.
tool
is
not
None
else
None
)
job
.
save
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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