If dataset seq exists for paste to existing alignment, make a ref
authoramwaterhouse <Andrew Waterhouse>
Thu, 8 Dec 2005 16:18:10 +0000 (16:18 +0000)
committeramwaterhouse <Andrew Waterhouse>
Thu, 8 Dec 2005 16:18:10 +0000 (16:18 +0000)
src/jalview/gui/AlignFrame.java

index e75b535..67257ff 100755 (executable)
@@ -844,6 +844,8 @@ public class AlignFrame
             newseq.setDatasetSequence(ds);\r
             viewport.alignment.getDataset().addSequence(ds);\r
           }\r
+          else\r
+            newseq.setDatasetSequence(sequences[i].getDatasetSequence());\r
 \r
         }\r
         viewport.setEndSeq(viewport.alignment.getHeight());\r