Skip to content

Commit

Permalink
cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry-Antipov authored and andrewprzh committed Jul 19, 2021
1 parent a6a4199 commit 5d276d7
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions assembler/src/common/modules/alignment/pacbio/pac_index.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ class PacBioMappingIndex {
std::vector<VertexId> second_edge = {g_.EdgeStart(b), g_.EdgeEnd(b)};
size_t result = DISTANT_IN_GRAPH;
for (auto v: first_edge) {
omnigraph::DijkstraHelper<debruijn_graph::Graph>::UnorientedBoundedDijkstra dijkstra(
auto dijkstra(
omnigraph::DijkstraHelper<debruijn_graph::Graph>::CreateUnorientedBoundedDijkstra(g_,
DISTANT_IN_GRAPH,
MAX_VERTICES_IN_DIJKSTRA_FILTERING
Expand All @@ -184,13 +184,9 @@ class PacBioMappingIndex {
}
}
}
if (result < DISTANT_IN_GRAPH)
return true;
else
return false;


return (result < DISTANT_IN_GRAPH);
}

typename omnigraph::MappingPath<EdgeId> FilterShortAlignments(typename omnigraph::MappingPath<EdgeId> mapped_path) const {
omnigraph::MappingPath<EdgeId> res;
size_t length_cutoff = pb_config_.internal_length_cutoff;
Expand Down

0 comments on commit 5d276d7

Please sign in to comment.