From: jprocter Date: Thu, 8 Nov 2007 15:24:57 +0000 (+0000) Subject: end must be greater than blockstart X-Git-Tag: Release_2_4~198 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=25a836152d861ebf9db68a2fd2c52e39b0eeb200;p=jalview.git end must be greater than blockstart --- 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)