From 4a731fe6e70e486c71c5ed9cd7281952d72cdb9c Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Fri, 13 Nov 2015 14:50:20 +0000 Subject: [PATCH 1/1] =?utf8?q?JAL-1965=20fencepost=20patch=20makes=20wordSpl?= =?utf8?q?it=20test=20pass=E2=80=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/jalview/analysis/SequenceIdMatcher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/analysis/SequenceIdMatcher.java b/src/jalview/analysis/SequenceIdMatcher.java index c0981a1..a5c161c 100755 --- a/src/jalview/analysis/SequenceIdMatcher.java +++ b/src/jalview/analysis/SequenceIdMatcher.java @@ -190,7 +190,7 @@ public class SequenceIdMatcher if (m > 0 && m - p > 5) { // split to end of word m with this delimiter - keys.add(new SeqIdName(name.substring(p, m - 1) + limits)); + keys.add(new SeqIdName(name.substring(p, m) + limits)); } if (namel - m > 5) { -- 1.7.10.2