From 25a836152d861ebf9db68a2fd2c52e39b0eeb200 Mon Sep 17 00:00:00 2001 From: jprocter Date: Thu, 8 Nov 2007 15:24:57 +0000 Subject: [PATCH] end must be greater than blockstart --- src/jalview/datamodel/ColumnSelection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/datamodel/ColumnSelection.java b/src/jalview/datamodel/ColumnSelection.java index 6cba6b3..74f4cda 100644 --- a/src/jalview/datamodel/ColumnSelection.java +++ b/src/jalview/datamodel/ColumnSelection.java @@ -962,7 +962,7 @@ public class ColumnSelection blockEnd = end; } - if (end >= blockStart) + if (end > blockStart) { annels.addElement(els = new Annotation[end-blockStart+1]); if (end-blockStart+1<=alignmentAnnotation.annotations.length) -- 1.7.10.2