Skip to content

Commit

Permalink
Merge pull request #203 from pangenome/update_abpoa
Browse files Browse the repository at this point in the history
update SPOA and abPOA
  • Loading branch information
AndreaGuarracino authored Jan 11, 2024
2 parents ae949a1 + 4b27ce4 commit 620d1d4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion deps/abPOA
4 changes: 2 additions & 2 deletions src/breaks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -244,11 +244,11 @@ namespace smoothxg {
}
// if there is, set the cut length to some fraction of it
std::vector<double> lengths;
double max_z = 0;
//double max_z = 0;
for (auto& repeat : repeats) {
if (repeat.length > 0) {
lengths.push_back(repeat.length);
max_z = std::max(repeat.z_score, max_z);
//max_z = std::max(repeat.z_score, max_z);
}
}
found_repeat = !lengths.empty();
Expand Down

0 comments on commit 620d1d4

Please sign in to comment.