From ea0f1007d81ede56be25e3cd76bdc4f444447f64 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Fri, 18 Aug 2006 14:02:52 +0000 Subject: [PATCH] dont remove all representative seqs on delete groups --- src/jalview/datamodel/Alignment.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/jalview/datamodel/Alignment.java b/src/jalview/datamodel/Alignment.java index 86c140f..c839271 100755 --- a/src/jalview/datamodel/Alignment.java +++ b/src/jalview/datamodel/Alignment.java @@ -394,8 +394,7 @@ public class Alignment implements AlignmentI while (i < sequences.size()) { - Sequence s = (Sequence)getSequenceAt(i); - s.hiddenSequences = null; + SequenceI s = getSequenceAt(i); s.setColor(java.awt.Color.white); i++; } @@ -406,9 +405,6 @@ public class Alignment implements AlignmentI { if (groups.contains(g)) { - //remove any hidden representatives - // for(int i=0; i