From 1b4d71403c0e11b7afa731e9e4abda211fd4d50c Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Tue, 20 Oct 2020 17:13:33 +0100 Subject: [PATCH] fix for JAL-3765 --- src/jalview/analysis/Finder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/analysis/Finder.java b/src/jalview/analysis/Finder.java index c545c7f..d52e42a 100644 --- a/src/jalview/analysis/Finder.java +++ b/src/jalview/analysis/Finder.java @@ -417,7 +417,7 @@ public class Finder implements FinderI * update residueIndex to next position after the start of the match * (findIndex returns a value base 1, columnIndex is held base 0) */ - residueIndex += offset + 1; + residueIndex = searchPattern.matchedFrom()+1; /* * return false if the match is entirely in a hidden region -- 1.7.10.2