Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
glennhickey committed Jan 31, 2025
1 parent e29b8ae commit b3fdd32
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/traversal_clusters.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,12 @@ static bool simplify_snarl_using_traversals(MutablePathMutableHandleGraph* graph
}
}

// revert to not snapping to reference path. because it can happen that there
// are huge nested snarls that due to clipping don't have any path.
if (ref_trav_indexes.empty() && level > 0 && alphabetically_first_ref_trav_idx >= 0) {
ref_trav_indexes.push_back(alphabetically_first_ref_trav_idx);
}

// if there are no reference paths, we bail
// todo: we could relax this by using the alphabetical path
if (ref_trav_indexes.empty()) {
Expand Down

1 comment on commit b3fdd32

@adamnovak
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vg CI tests complete for branch simplify2. View the full report here.

16 tests passed, 0 tests failed and 0 tests skipped in 17353 seconds

Please sign in to comment.