Skip to content

Commit 5d276d7

Browse files
Dmitry-Antipovandrewprzh
authored andcommitted
cosmetics
1 parent a6a4199 commit 5d276d7

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

assembler/src/common/modules/alignment/pacbio/pac_index.hpp

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ class PacBioMappingIndex {
172172
std::vector<VertexId> second_edge = {g_.EdgeStart(b), g_.EdgeEnd(b)};
173173
size_t result = DISTANT_IN_GRAPH;
174174
for (auto v: first_edge) {
175-
omnigraph::DijkstraHelper<debruijn_graph::Graph>::UnorientedBoundedDijkstra dijkstra(
175+
auto dijkstra(
176176
omnigraph::DijkstraHelper<debruijn_graph::Graph>::CreateUnorientedBoundedDijkstra(g_,
177177
DISTANT_IN_GRAPH,
178178
MAX_VERTICES_IN_DIJKSTRA_FILTERING
@@ -184,13 +184,9 @@ class PacBioMappingIndex {
184184
}
185185
}
186186
}
187-
if (result < DISTANT_IN_GRAPH)
188-
return true;
189-
else
190-
return false;
191-
192-
187+
return (result < DISTANT_IN_GRAPH);
193188
}
189+
194190
typename omnigraph::MappingPath<EdgeId> FilterShortAlignments(typename omnigraph::MappingPath<EdgeId> mapped_path) const {
195191
omnigraph::MappingPath<EdgeId> res;
196192
size_t length_cutoff = pb_config_.internal_length_cutoff;

0 commit comments

Comments
 (0)