git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-629 example files from nf-core
[jalview.git]
/
src
/
jalview
/
util
/
Comparison.java
diff --git
a/src/jalview/util/Comparison.java
b/src/jalview/util/Comparison.java
index
0d945ac
..
cd98ee7
100644
(file)
--- 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)
{
*/
public static final boolean isNucleotide(SequenceI seq)
{
- if (seq==null)
+ if (seq == null)
{
return false;
}
{
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).
*/
* 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
{
}
else
{