projects
/
mussa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Extend the python mussa interface.
[mussa.git]
/
alg
/
mussa.cpp
diff --git
a/alg/mussa.cpp
b/alg/mussa.cpp
index b538eccf0946bc8f992c62ea8cb81f8b6269c550..0b93e99d24da3ec3e543e3e0e5cde8ad35678cef 100644
(file)
--- a/
alg/mussa.cpp
+++ b/
alg/mussa.cpp
@@
-198,11
+198,13
@@
void
Mussa::set_soft_threshold(int new_threshold)
{
if (new_threshold < threshold) {
Mussa::set_soft_threshold(int new_threshold)
{
if (new_threshold < threshold) {
-
soft_thres
= threshold;
+
new_threshold
= threshold;
} else if (new_threshold > window) {
} else if (new_threshold > window) {
- soft_thres = window;
- } else {
+ new_threshold = window;
+ }
+ if (soft_thres != new_threshold) {
soft_thres = new_threshold;
soft_thres = new_threshold;
+ nway();
}
}
}
}
@@
-375,10
+377,6
@@
void Mussa::load_sequence(fs::path seq_file, fs::path annot_file,
set_dirty(true);
}
set_dirty(true);
}
-void Mussa::load_mupa_file(std::string para_file_path) {
- load_mupa_file(boost::filesystem::path(para_file_path));
-}
-
void
Mussa::load_mupa_file(fs::path para_file_path)
{
void
Mussa::load_mupa_file(fs::path para_file_path)
{