X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Futil%2FComparison.java;fp=src%2Fjalview%2Futil%2FComparison.java;h=cd98ee74bf560bf426c948950cc1e094809ff3a4;hb=3459a8a691cb22508d7067f240b7254e588e77d3;hp=0d945ac22f85bb69c1e18ce0b4d93840c5864b8b;hpb=5b27f1062b2203c4c31702e205f4c78e1992063e;p=jalview.git diff --git a/src/jalview/util/Comparison.java b/src/jalview/util/Comparison.java index 0d945ac..cd98ee7 100644 --- a/src/jalview/util/Comparison.java +++ b/src/jalview/util/Comparison.java @@ -268,7 +268,7 @@ public class Comparison */ public static final boolean isNucleotide(SequenceI seq) { - if (seq==null) + if (seq == null) { return false; } @@ -297,9 +297,10 @@ public class Comparison * Check for nucleotide count > 85% of total count (in a form that evades * int / float conversion or divide by zero). */ - if ((ntCount+nCount) * 100 > EIGHTY_FIVE * (ntCount + aaCount)) + if ((ntCount + nCount) * 100 > EIGHTY_FIVE * (ntCount + aaCount)) { - return ntCount>0; // all N is considered protein. Could use a threshold here too + return ntCount > 0; // all N is considered protein. Could use a threshold + // here too } else {