From: gmungoc Date: Fri, 5 Aug 2016 10:22:14 +0000 (+0100) Subject: JAL-2164 add transferred annotation to sequence X-Git-Tag: Release_2_10_0~115 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=92fd3e4d77444c14bb899e9fcd07bd8d44fe7b1e;p=jalview.git JAL-2164 add transferred annotation to sequence --- diff --git a/src/MCview/PDBChain.java b/src/MCview/PDBChain.java index 885521b..cf794b6 100755 --- a/src/MCview/PDBChain.java +++ b/src/MCview/PDBChain.java @@ -29,8 +29,8 @@ import jalview.datamodel.SequenceFeature; import jalview.datamodel.SequenceI; import jalview.schemes.ColourSchemeI; import jalview.schemes.ResidueProperties; -import jalview.structure.StructureMapping; import jalview.structure.StructureImportSettings; +import jalview.structure.StructureMapping; import java.awt.Color; import java.util.List; @@ -582,12 +582,13 @@ public class PDBChain { for (AlignmentAnnotation ana : sequence.getAnnotation()) { - List transfer = sq + List transfer = dsq .getAlignmentAnnotations(ana.getCalcId(), ana.label); if (transfer == null || transfer.size() == 0) { ana = new AlignmentAnnotation(ana); ana.liftOver(dsq, sqmpping); + dsq.addAlignmentAnnotation(ana); // mapping.transfer(ana); } else