Changes case to end of alignment
authoramwaterhouse <Andrew Waterhouse>
Wed, 10 May 2006 12:55:17 +0000 (12:55 +0000)
committeramwaterhouse <Andrew Waterhouse>
Wed, 10 May 2006 12:55:17 +0000 (12:55 +0000)
src/jalview/datamodel/Sequence.java

index 6873f52..290cdfc 100755 (executable)
@@ -643,8 +643,8 @@ public class Sequence implements SequenceI
     {\r
       StringBuffer newSeq = new StringBuffer();\r
 \r
-      if(end>=sequence.length())\r
-        end = sequence.length()-1;\r
+      if(end>sequence.length())\r
+        end = sequence.length();\r
 \r
       if (start > 0)\r
       {\r
@@ -666,8 +666,8 @@ public class Sequence implements SequenceI
     {\r
       StringBuffer newSeq = new StringBuffer();\r
 \r
-     if(end>=sequence.length())\r
-       end = sequence.length()-1;\r
+     if(end>sequence.length())\r
+       end = sequence.length();\r
 \r
      if (start > 0)\r
      {\r