Copy seq ordering bug fixed
authoramwaterhouse <Andrew Waterhouse>
Mon, 18 Jul 2005 13:47:32 +0000 (13:47 +0000)
committeramwaterhouse <Andrew Waterhouse>
Mon, 18 Jul 2005 13:47:32 +0000 (13:47 +0000)
src/jalview/appletgui/AlignFrame.java
src/jalview/gui/AlignFrame.java

index d320dc5..caa0321 100755 (executable)
@@ -300,7 +300,7 @@ public class AlignFrame
                              seq.findPosition(sg.getStartRes()) + "\t"\r
                              + seq.findPosition(sg.getEndRes()) + "\t"\r
                              +\r
-                             sg.getSequenceAt(i).getSequence(sg.getStartRes(),\r
+                             seq.getSequence(sg.getStartRes(),\r
           sg.getEndRes() + 1) + "\n");\r
     }\r
 \r
index cbbc635..3ea7ed0 100755 (executable)
@@ -545,7 +545,7 @@ public class AlignFrame extends GAlignFrame
             buffer.append(seq.getName() + "\t" +\r
                 seq.findPosition(sg.getStartRes()) + "\t" +\r
                 seq.findPosition(sg.getEndRes()) + "\t" +\r
-                sg.getSequenceAt(i).getSequence(sg.getStartRes(),\r
+                seq.getSequence(sg.getStartRes(),\r
                     sg.getEndRes() + 1) + "\n");\r
         }\r
 \r