dont remove all representative seqs on delete groups
authoramwaterhouse <Andrew Waterhouse>
Fri, 18 Aug 2006 14:02:52 +0000 (14:02 +0000)
committeramwaterhouse <Andrew Waterhouse>
Fri, 18 Aug 2006 14:02:52 +0000 (14:02 +0000)
src/jalview/datamodel/Alignment.java

index 86c140f..c839271 100755 (executable)
@@ -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<g.getsiz
-         //   g.getSequences()
             groups.removeElement(g);
         }
     }