Commit 4232272c authored by Mathieu Giraud's avatar Mathieu Giraud

core/germline.cpp: properly fail when no germlines have been loaded

see #4775
parent 06d738f2
......@@ -432,6 +432,12 @@ void MultiGermline::finish() {
for (auto germline: germlines) {
germline->finish();
}
if (germlines.empty())
{
cerr << ERROR_STRING << "No matching germlines" << endl;
exit(2);
}
}
/* Mark k-mers common to several germlines as ambiguous */
......
Markdown is supported
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