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
ng6
Commits
55288e47
Commit
55288e47
authored
Oct 25, 2018
by
Gerald Salin
Browse files
in subsetAssignation.py : supress the sterrr, and redirect the message
to logging
parent
f486c579
Changes
2
Hide whitespace changes
Inline
Side-by-side
ui/felogin.html
→
ui/
nG6/
felogin.html
View file @
55288e47
File moved
workflows/components/subsetAssignation.py
View file @
55288e47
...
...
@@ -16,6 +16,7 @@
#
import
os
,
sys
import
logging
from
subprocess
import
Popen
,
PIPE
from
jflow.utils
import
get_argument_pattern
...
...
@@ -96,7 +97,7 @@ class SubsetAssignation (Analysis):
self
.
use_index
=
"true"
if
not
os
.
path
.
exists
(
self
.
databank
+
".00.idx"
)
:
self
.
use_index
=
"false"
sys
.
stderr
.
write
(
"[WARNING] "
+
self
.
__class__
.
__name__
+
"
work
s
more quickly with megablast index
.
\n
"
)
logging
.
getLogger
(
"SubsetAssignation"
).
warn
(
"would
work more quickly with megablast index"
)
if
group_prefix
==
None
:
self
.
add_parameter_list
(
"group_prefixes"
,
"group_prefix"
,
default
=
list
(
map
(
os
.
path
.
basename
,
self
.
get_outputs
(
'{basename_woext}'
,
self
.
sequence_files
))))
...
...
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