From fe005c981a53613daffccf849e4da5a14f3513cc Mon Sep 17 00:00:00 2001 From: James Procter Date: Fri, 15 Dec 2023 13:57:50 +0000 Subject: [PATCH] JAL-1551 formatting --- src/mc_view/PDBChain.java | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/src/mc_view/PDBChain.java b/src/mc_view/PDBChain.java index 7e220bb..172ed07 100755 --- a/src/mc_view/PDBChain.java +++ b/src/mc_view/PDBChain.java @@ -188,6 +188,7 @@ public class PDBChain /** * like makeExactMapping but using a sequence mapping object + * * @param sqmpping * @param seq */ @@ -198,13 +199,13 @@ public class PDBChain atom.alignmentMapping = -1; } // and now map sqmapping to the atom set. - int[] range = sqmpping.locateRange(seq.getStart(),seq.getEnd()); - int r=0,from,to; - while (r= residues.size()) { @@ -216,7 +217,7 @@ public class PDBChain atom.alignmentMapping = sqmpping.getPosition(pdbpos); } } - } + } } /** @@ -752,8 +753,8 @@ public class PDBChain // Useful for debugging mappings - adds annotation for mapped position float min = -1, max = 0; Annotation[] an = new Annotation[sq.getEnd() - sq.getStart() + 1]; - for (int i = sq.getStart(), j = sq - .getEnd(), k = 0; i <= j; i++, k++) + for (int i = sq.getStart(), j = sq.getEnd(), + k = 0; i <= j; i++, k++) { int prn = mapping.getPDBResNum(k + 1); -- 1.7.10.2