From 3ad07b11cf5c6c2a763fa9661252bb29ac4bc132 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Thu, 27 Nov 2014 14:32:52 +0000 Subject: [PATCH] JAL-674 patch to fix bug with showing reference annotation for legacy jalview example file v2.7 --- src/MCview/PDBChain.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/MCview/PDBChain.java b/src/MCview/PDBChain.java index 8812dcc..49d7d4a 100755 --- a/src/MCview/PDBChain.java +++ b/src/MCview/PDBChain.java @@ -522,6 +522,7 @@ public class PDBChain ana.getCalcId(), ana.label); if (transfer == null || transfer.size() == 0) { + ana = new AlignmentAnnotation(ana); ana.liftOver(sequence, shadowMap); ana.liftOver(dsq, sqmpping); dsq.addAlignmentAnnotation(ana); @@ -542,6 +543,7 @@ public class PDBChain .getAlignmentAnnotations(ana.getCalcId(), ana.label); if (transfer == null || transfer.size() == 0) { + ana = new AlignmentAnnotation(ana); ana.liftOver(dsq, sqmpping); // mapping.transfer(ana); } -- 1.7.10.2