JAL-3490 match count independent of contiguous matches count
[jalview.git] / src / jalview / analysis / Finder.java
index 0d8665f..c545c7f 100644 (file)
@@ -471,10 +471,7 @@ public class Finder implements FinderI
      */
     int[] truePositions = searchedSequenceMap
             .locateInFrom(matchStartPosition, matchEndPosition);
-    for (int i = 0; i < truePositions.length - 1; i += 2)
-    {
-      searchResults.addResult(seq, truePositions[i], truePositions[i + 1]);
-    }
+    searchResults.addResult(seq, truePositions);
   }
 
   /**