Skip to content

Commit

Permalink
Bug fix -- maximum coverage estimate effecting whole genome view for …
Browse files Browse the repository at this point in the history
…sparsely populated feature files.
  • Loading branch information
jrobinso committed Apr 10, 2024
1 parent 794be3d commit 80de0de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/broad/igv/track/FeatureTrack.java
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,7 @@ protected String getZoomInMessage(String chr) {

private float getMaxEstimate(List<LocusScore> scores) {
float max = 0;
int n = Math.min(200, scores.size());
int n = scores.size();
for (int i = 0; i < n; i++) {
max = Math.max(max, scores.get(i).getScore());
}
Expand Down

0 comments on commit 80de0de

Please sign in to comment.