Commit 4a83f281 authored by Mathieu Giraud's avatar Mathieu Giraud

germline.cpp: correctly set delta_min (-10 or 0)

-10 is when there is no rep4. Fix 928a98e6.
parent 977bfc3c
......@@ -90,10 +90,10 @@ Germline::Germline(string _code, char _shortcut,
Germline::Germline(string code, char shortcut, string path, json json_recom, int max_indexing)
{
int delta_min = 0;
int delta_min = -10;
if (json_recom.find("4") != json_recom.end()) {
delta_min = -10;
delta_min = 0;
}
init(code, shortcut, delta_min, max_indexing);
......
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