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
Yoann DUFRESNE
linked reads molecule ordering
Commits
cb9177b2
Commit
cb9177b2
authored
May 14, 2020
by
Yoann Dufresne
Browse files
add max coverage value to the print
parent
ff5bf7f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
deconvolution/d2graph/path_optimization.py
View file @
cb9177b2
...
...
@@ -60,9 +60,10 @@ class Optimizer:
best_score
=
len
(
coverage
)
last_increase_node
=
current_node
if
verbose
:
print
(
f
"New best:
{
len
(
best_path
)
}
{
best_score
}
"
)
print
(
f
"New best:
{
len
(
best_path
)
}
{
best_score
}
/
{
max_cov
}
"
)
if
len
(
coverage
)
==
max_cov
:
print
(
"Max coverage"
)
return
best_path
else
:
nb_steps_since_last_score_up
+=
1
...
...
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