git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7428d31
)
fix for JAL-3765
author
Jim Procter
<jprocter@issues.jalview.org>
Tue, 20 Oct 2020 16:13:33 +0000
(17:13 +0100)
committer
Jim Procter
<jprocter@issues.jalview.org>
Tue, 20 Oct 2020 16:19:34 +0000
(17:19 +0100)
src/jalview/analysis/Finder.java
patch
|
blob
|
history
diff --git
a/src/jalview/analysis/Finder.java
b/src/jalview/analysis/Finder.java
index
c545c7f
..
d52e42a
100644
(file)
--- 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