JAL-674 patch to fix bug with showing reference annotation for legacy jalview example...
authorJim Procter <jprocter@dundee.ac.uk>
Thu, 27 Nov 2014 14:32:52 +0000 (14:32 +0000)
committerJim Procter <jprocter@dundee.ac.uk>
Thu, 27 Nov 2014 14:32:52 +0000 (14:32 +0000)
src/MCview/PDBChain.java

index 8812dcc..49d7d4a 100755 (executable)
@@ -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);
             }