From: amwaterhouse Date: Fri, 18 Aug 2006 14:02:52 +0000 (+0000) Subject: dont remove all representative seqs on delete groups X-Git-Tag: Release_2_1~30 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=ea0f1007d81ede56be25e3cd76bdc4f444447f64;p=jalview.git dont remove all representative seqs on delete groups --- 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