JAL-674 formatting
authorJim Procter <jprocter@dundee.ac.uk>
Thu, 27 Nov 2014 14:32:08 +0000 (14:32 +0000)
committerJim Procter <jprocter@dundee.ac.uk>
Thu, 27 Nov 2014 14:32:08 +0000 (14:32 +0000)
src/MCview/PDBChain.java

index 408108b..8812dcc 100755 (executable)
@@ -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<AlignmentAnnotation> 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<AlignmentAnnotation> 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