From cd1ded4a9a6f3478f3b704c9c97fd323ac5dbdd7 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Fri, 11 Feb 2005 12:43:31 +0000 Subject: [PATCH] dont add new seqs to group --- 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 8535d84..86d2c0e 100755 --- a/src/jalview/datamodel/Alignment.java +++ b/src/jalview/datamodel/Alignment.java @@ -40,7 +40,6 @@ public class Alignment implements AlignmentI } /** Adds a sequence to the alignment. Recalculates maxLength and size. - * Should put the new sequence in a sequence group!!! * * @param snew */ @@ -55,8 +54,7 @@ public class Alignment implements AlignmentI } /** Adds a sequence to the alignment. Recalculates maxLength and size. - * Should put the new sequence in a sequence group!!! - * + * * @param snew */ public void setSequenceAt(int i,SequenceI snew) { @@ -64,8 +62,6 @@ public class Alignment implements AlignmentI deleteSequence(oldseq); sequences.setElementAt(snew,i); - - ((SequenceGroup)groups.lastElement()).addSequence(snew); } public Vector getGroups() { -- 1.7.10.2