Commit a15f0a91 authored by Mathieu Giraud's avatar Mathieu Giraud

germline.cpp: mark_cross_germlines_as_ambiguous(), skip germlines on a same system

Such as TRD/TRD+
parent 7c07b74e
#include "germline.h"
#include <ctype.h>
void Germline::init(string _code, char _shortcut,
int _delta_min, int _delta_max)
......@@ -277,6 +278,10 @@ void MultiGermline::mark_cross_germlines_as_ambiguous()
if (germline2 == germline)
continue ;
// Skip germlines on a same system, such as 'D' (TRD) and 'd' (TRD+)
if (toupper(germline2->shortcut) == toupper(germline->shortcut))
continue;
germline->mark_as_ambiguous(germline2);
}
......
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