From 58f1100520f493623282142819b09e363f583eb9 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Wed, 8 Feb 2006 15:23:31 +0000 Subject: [PATCH] Copy dataset annotations for paste(this) --- src/jalview/gui/AlignFrame.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/jalview/gui/AlignFrame.java b/src/jalview/gui/AlignFrame.java index de2d3d1..c193ab3 100755 --- a/src/jalview/gui/AlignFrame.java +++ b/src/jalview/gui/AlignFrame.java @@ -760,8 +760,16 @@ public class AlignFrame viewport.alignment.getDataset().addSequence(ds); } else + { newseq.setDatasetSequence(sequences[i].getDatasetSequence()); - + if(sequences[i].getDatasetSequence().getAnnotation()!=null) + { + for(int aa=0; aa