From: Jim Procter Date: Thu, 27 Nov 2014 14:32:08 +0000 (+0000) Subject: JAL-674 formatting X-Git-Tag: Jalview_2_9~138^2~1 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=b7bcefd67d59442fb18402fe3fb7f9dad945dbaf;p=jalview.git JAL-674 formatting --- diff --git a/src/MCview/PDBChain.java b/src/MCview/PDBChain.java index 408108b..8812dcc 100755 --- a/src/MCview/PDBChain.java +++ b/src/MCview/PDBChain.java @@ -534,24 +534,24 @@ public class PDBChain } else { - if (sequence != null && sequence.getAnnotation() != null) - { - for (AlignmentAnnotation ana : sequence.getAnnotation()) + if (sequence != null && sequence.getAnnotation() != null) { - List transfer = sq.getAlignmentAnnotations( - ana.getCalcId(), ana.label); - if (transfer == null || transfer.size() == 0) - { - ana.liftOver(dsq, sqmpping); - // mapping.transfer(ana); - } - else + for (AlignmentAnnotation ana : sequence.getAnnotation()) { - continue; + List transfer = sq + .getAlignmentAnnotations(ana.getCalcId(), ana.label); + if (transfer == null || transfer.size() == 0) + { + ana.liftOver(dsq, sqmpping); + // mapping.transfer(ana); + } + else + { + continue; + } } } } - } if (false) { // Useful for debugging mappings - adds annotation for mapped position