From: jprocter Date: Thu, 10 May 2007 08:40:31 +0000 (+0000) Subject: bugfix on copy only referenced annotation in copy constructor X-Git-Tag: Release_2_3~3 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=167f4ca4f4886f507f3f7cbb3f2a4d3821862de8;p=jalview.git bugfix on copy only referenced annotation in copy constructor --- 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