From: amwaterhouse Date: Fri, 11 Feb 2005 12:43:31 +0000 (+0000) Subject: dont add new seqs to group X-Git-Tag: Release_2_0~665 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=cd1ded4a9a6f3478f3b704c9c97fd323ac5dbdd7;p=jalview.git dont add new seqs to group --- 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() {