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
2faefb0d
Commit
2faefb0d
authored
Jan 26, 2018
by
Floreal Cabanettes
Browse files
Remove previous fix (bad fix)
parent
bd606024
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/dgenies/lib/job_manager.py
View file @
2faefb0d
...
...
@@ -74,11 +74,9 @@ class JobManager:
if
os
.
path
.
exists
(
query_file
):
with
open
(
query_file
)
as
q_f
:
file_path
=
q_f
.
readline
()
file_path_dir
=
os
.
path
.
dirname
(
file_path
)
split_query
=
glob
.
glob
(
os
.
path
.
join
(
file_path_dir
,
"split_query_*"
))
self
.
query
=
Fasta
(
name
=
os
.
path
.
splitext
(
os
.
path
.
basename
(
file_path
.
replace
(
".gz"
,
""
)).
split
(
"_"
,
1
)[
1
])[
0
],
path
=
file_path
if
len
(
split_query
)
==
0
else
split_query
,
path
=
file_path
,
type_f
=
"local"
)
target_file
=
os
.
path
.
join
(
res_dir
,
".target"
)
...
...
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