Commit 36e6b84a authored by Rayan Chikhi's avatar Rayan Chikhi
Browse files

more verbose and non-blocking error message for adjacency

parent c56289e4
......@@ -3508,8 +3508,8 @@ void GraphTemplate<Node, Edge, GraphDataVariant>::deleteNode (Node node) const
}
if (deleted == false)
{
std::cout << "was supposed to delete a node but couldn't find it :(." << std::endl; // TODO: remove if no problem after a while
exit(1);
std::cout << "[bug detected in adjacency data structure] was supposed to delete node "<< this->toString(node) <<" but couldn't find it :(." << std::end
std::cout << "assembly may be inaccurate around this kmer. will continue assembling anyway" << std::endl;
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment