From 4e488d7e3ee2b70b798fd91ae90546462c890212 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Thu, 12 Oct 2006 14:13:22 +0000 Subject: [PATCH] Overview may request index beyond alignment height --- src/jalview/datamodel/HiddenSequences.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/jalview/datamodel/HiddenSequences.java b/src/jalview/datamodel/HiddenSequences.java index e244dd7..17a6c11 100755 --- a/src/jalview/datamodel/HiddenSequences.java +++ b/src/jalview/datamodel/HiddenSequences.java @@ -35,7 +35,6 @@ public class HiddenSequences { if(hiddenSequences==null) { - System.out.println("H is null"); return 0; } int count = 0; @@ -182,7 +181,7 @@ public class HiddenSequences int index = 0; int hiddenSeqs = 0; if(hiddenSequences.length<=alignmentIndex) - System.out.println(alignmentIndex+" "+hiddenSequences.length); + alignmentIndex = hiddenSequences.length-1; while(index <= alignmentIndex) { -- 1.7.10.2