check on sequence length
authoramwaterhouse <Andrew Waterhouse>
Thu, 21 Dec 2006 13:50:01 +0000 (13:50 +0000)
committeramwaterhouse <Andrew Waterhouse>
Thu, 21 Dec 2006 13:50:01 +0000 (13:50 +0000)
src/jalview/datamodel/Sequence.java

index 4687116..ec798f1 100755 (executable)
@@ -377,7 +377,7 @@ public class Sequence implements SequenceI
     // JBPNote - left to user to pad the result here (TODO:Decide on this policy)
     if (start >= sequence.length)
     {
-      System.out.println("DOES THIS GET CALLED???");
+      return new char[0];
     }
 
     if (end >= sequence.length)