Skip to content

Commit

Permalink
try sorting steps
Browse files Browse the repository at this point in the history
  • Loading branch information
glennhickey committed Jun 5, 2024
1 parent dcf4d23 commit 8c30879
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/traversal_finder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -887,6 +887,8 @@ pair<vector<SnarlTraversal>, vector<PathInterval>> PathTraversalFinder::find_pat
pair<vector<Traversal>, vector<PathInterval>> PathTraversalFinder::find_path_traversals(const handle_t& snarl_start, const handle_t& snarl_end) {

vector<step_handle_t> start_steps = graph.steps_of_handle(snarl_start);
// try to make this stable across different systems
std::sort(start_steps.begin(), start_steps.end());
vector<step_handle_t> end_steps = graph.steps_of_handle(snarl_end);

// use this to skip paths that don't reach the end node
Expand Down

1 comment on commit 8c30879

@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 deconstruct. View the full report here.

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

Please sign in to comment.