Skip to content

Commit

Permalink
removed warning for a case that's right to exist
Browse files Browse the repository at this point in the history
  • Loading branch information
rchikhi committed May 12, 2019
1 parent b9d1721 commit 626b5b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gatb-core/src/gatb/debruijn/impl/Simplifications.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1108,7 +1108,8 @@ void Simplifications<GraphType,Node,Edge>::heuristic_most_covered_path_unitigs(
current_node = neighbors[0].to;
if (_graph.degree(current_node, reverse(dir)) <= 1)
{
std::cout << "Weird, there was supposed to be an in-neighbor. Maybe there's a loop. Remove this print if it never happens" << "in degree " << _graph.degree(current_node, reverse(dir)) << " node" << _graph.toString(current_node) << std::endl;
// actually this happens for kmers that are linked to themselves (e.g. k=5, AAATT, is connected to its own revcomp AATTT, so it's fine to end the simple path here on those cases)
//std::cout << "Weird, there was supposed to be an in-neighbor. Maybe there's a loop. Remove this print if it never happens" << "in degree " << _graph.degree(current_node, reverse(dir)) << " node" << _graph.toString(current_node) << std::endl;
return;
}

Expand Down

0 comments on commit 626b5b5

Please sign in to comment.