From 167f4ca4f4886f507f3f7cbb3f2a4d3821862de8 Mon Sep 17 00:00:00 2001 From: jprocter Date: Thu, 10 May 2007 08:40:31 +0000 Subject: [PATCH] bugfix on copy only referenced annotation in copy constructor --- src/jalview/datamodel/Sequence.java | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/src/jalview/datamodel/Sequence.java b/src/jalview/datamodel/Sequence.java index d64e133..7d6ba27 100755 --- a/src/jalview/datamodel/Sequence.java +++ b/src/jalview/datamodel/Sequence.java @@ -165,11 +165,15 @@ public class Sequence } } setDatasetSequence(seq.getDatasetSequence()); - if (seq.getAnnotation()!=null && alAnnotation!=null) { + if (seq.getAnnotation()!=null) { AlignmentAnnotation[] sqann = seq.getAnnotation(); for (int i=0;i