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
0d4c0f6a
Commit
0d4c0f6a
authored
Jul 12, 2018
by
Floreal Cabanettes
Browse files
Fix unattended situation
parent
cedbe25b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/dgenies/lib/job_manager.py
View file @
0d4c0f6a
...
...
@@ -1410,9 +1410,10 @@ class JobManager:
with
Job
.
connect
():
job
=
Job
.
get
(
Job
.
id_job
==
self
.
id_job
)
target_size
=
os
.
path
.
getsize
(
self
.
target
.
get_path
())
if
(
self
.
target
is
not
None
and
self
.
target
.
get_type
()
==
"local"
)
else
0
==
"local"
and
os
.
path
.
exists
(
self
.
target
.
get_path
()))
else
0
query_size
=
None
if
self
.
query
is
not
None
and
self
.
query
.
get_type
()
==
"local"
:
if
self
.
query
is
not
None
and
self
.
query
.
get_type
()
==
"local"
and
os
.
path
.
exists
(
self
.
query
.
get_path
())
:
query_size
=
os
.
path
.
getsize
(
self
.
query
.
get_path
())
log
=
Analytics
.
create
(
id_job
=
self
.
id_job
,
...
...
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