From: amwaterhouse Date: Mon, 18 Jul 2005 13:47:32 +0000 (+0000) Subject: Copy seq ordering bug fixed X-Git-Tag: Release_2_02~2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=17837bcd5396404a52d6ba5724119a510eb2e51d;p=jalview.git Copy seq ordering bug fixed --- diff --git a/src/jalview/appletgui/AlignFrame.java b/src/jalview/appletgui/AlignFrame.java index d320dc5..caa0321 100755 --- a/src/jalview/appletgui/AlignFrame.java +++ b/src/jalview/appletgui/AlignFrame.java @@ -300,7 +300,7 @@ public class AlignFrame seq.findPosition(sg.getStartRes()) + "\t" + seq.findPosition(sg.getEndRes()) + "\t" + - sg.getSequenceAt(i).getSequence(sg.getStartRes(), + seq.getSequence(sg.getStartRes(), sg.getEndRes() + 1) + "\n"); } diff --git a/src/jalview/gui/AlignFrame.java b/src/jalview/gui/AlignFrame.java index cbbc635..3ea7ed0 100755 --- a/src/jalview/gui/AlignFrame.java +++ b/src/jalview/gui/AlignFrame.java @@ -545,7 +545,7 @@ public class AlignFrame extends GAlignFrame buffer.append(seq.getName() + "\t" + seq.findPosition(sg.getStartRes()) + "\t" + seq.findPosition(sg.getEndRes()) + "\t" + - sg.getSequenceAt(i).getSequence(sg.getStartRes(), + seq.getSequence(sg.getStartRes(), sg.getEndRes() + 1) + "\n"); }