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-4390 don't output alignment to text panel and stdout when lots of sequences proce...
[jalview.git]
/
src
/
jalview
/
datamodel
/
ResidueCount.java
diff --git
a/src/jalview/datamodel/ResidueCount.java
b/src/jalview/datamodel/ResidueCount.java
index
6b52166
..
dc98f99
100644
(file)
--- a/
src/jalview/datamodel/ResidueCount.java
+++ b/
src/jalview/datamodel/ResidueCount.java
@@
-212,7
+212,12
@@
public class ResidueCount
counts[offset] = (short) ++newValue;
}
}
counts[offset] = (short) ++newValue;
}
}
- maxCount = Math.max(maxCount, newValue);
+
+ if (offset != GAP_COUNT)
+ {
+ // update modal residue count
+ maxCount = Math.max(maxCount, newValue);
+ }
return newValue;
}
return newValue;
}