Skip to content

Commit

Permalink
fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
glennhickey committed Apr 10, 2024
1 parent ff71cd8 commit 0fa7487
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/graph_caller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,15 @@ void GraphCaller::call_top_level_snarls(const HandleGraph& graph, RecurseType re
};

// Start with the top level snarls
snarl_manager.for_each_top_level_snarl_parallel(process_snarl);
// Queue them up since process_snarl is no longer a valid callback for the iterator snarl_manager.for_each_top_level_snarl()
vector<const Snarl*> top_level_snarls;
snarl_manager.for_each_top_level_snarl([&](const Snarl* snarl) {
top_level_snarls.push_back(snarl);
});
#pragma omp parallel for schedule(dynamic, 1)
for (int64_t i = 0; i < top_level_snarls.size(); ++i) {
process_snarl(top_level_snarls[i], -1);
}
if (show_progress) cerr << "[vg call]: Finished processing " << top_snarl_count << " top-level snarls" << endl;

top_level = false;
Expand Down

1 comment on commit 0fa7487

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

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

Please sign in to comment.