From: amwaterhouse Date: Wed, 8 Feb 2006 15:23:31 +0000 (+0000) Subject: Copy dataset annotations for paste(this) X-Git-Tag: Root_VamJalview_2_07b+~162 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=58f1100520f493623282142819b09e363f583eb9;p=jalview.git Copy dataset annotations for paste(this) --- 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