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
8e86231c
Commit
8e86231c
authored
Nov 27, 2017
by
Floreal Cabanettes
Browse files
Improve hide noise
parent
7b4d4b76
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/paf.py
View file @
8e86231c
...
...
@@ -198,8 +198,8 @@ class Paf:
self
.
error
=
"PAF file does not exist!"
return
False
if
not
noise
:
counts
,
bins
,
bars
=
plt
.
hist
(
lines_lens
,
bins
=
100
0
)
if
not
noise
and
nb_lines
>
1000
:
counts
,
bins
,
bars
=
plt
.
hist
(
lines_lens
,
bins
=
nb_lines
//
1
0
)
counts
=
list
(
counts
)
max_value
=
max
(
counts
)
max_index
=
counts
.
index
(
max_value
)
...
...
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