-
Type: Improvement
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 1.10.4
-
Fix Version/s: 1.11.2
-
Component/s: Basic-Nucl, Basic-Protein
-
Labels:None
-
Affect Type:Userdefined
When "Find pattern" dialog was moved to the Options Panel (see UGENE-392), the following statement in the old source code was ignored: "TODO: the statement below is always false".
U2Region r = rj->res.region.intersect(ri->res.region); if (r.length > 0 && r.length >= MAX_OVERLAP_K * ri->res.region.length) { //TODO: the statement below is always false if (ri->res.err > ri->res.err) { delete ri; i--; break; } else { j--; delete rj; } n--; } else { break; }
A set of tests should be written to verify that overlapped results work as expected.