setendres -1
authoramwaterhouse <Andrew Waterhouse>
Mon, 18 Apr 2005 16:03:24 +0000 (16:03 +0000)
committeramwaterhouse <Andrew Waterhouse>
Mon, 18 Apr 2005 16:03:24 +0000 (16:03 +0000)
src/jalview/gui/IdPanel.java

index a4b80f0..3444881 100755 (executable)
@@ -121,7 +121,7 @@ public class IdPanel extends JPanel implements MouseListener, MouseMotionListene
       SequenceGroup selection = new SequenceGroup();\r
       SequenceGroup sg = av.alignment.findGroup(av.alignment.getSequenceAt(seq));\r
       selection.setStartRes(0);\r
-      selection.setEndRes(av.alignment.getWidth());\r
+      selection.setEndRes(av.alignment.getWidth()-1);\r
       for (int i =0; i< sg.getSize(); i++)\r
         selection.addSequence(sg.getSequenceAt(i));\r
 \r