X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Futil%2FComparison.java;h=fabfbff6d15915951891ca72b8a91f5740752724;hb=3cc6cd558fa548219f4e12b3abbb6b88d0d20c23;hp=6a7e655212115c27794c7eaa190e536990839614;hpb=304e64fb34b32659be1bbfd39fb4e15b2f79586e;p=jalview.git diff --git a/src/jalview/util/Comparison.java b/src/jalview/util/Comparison.java index 6a7e655..fabfbff 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 {