Skip to content

Commit

Permalink
Fixed bug with long yield runs displaying negative mean
Browse files Browse the repository at this point in the history
  • Loading branch information
richardmleggett committed Jun 19, 2017
1 parent 774ecb4 commit c23f155
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Binary file modified dist/NanoOK.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion src/nanook/NanoOK.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
* @author Richard Leggett
*/
public class NanoOK {
public final static String VERSION_STRING = "v1.25";
public final static String VERSION_STRING = "v1.26";
public final static long SERIAL_VERSION = 3L;

/**
Expand Down
4 changes: 2 additions & 2 deletions src/nanook/ReadSetStats.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class ReadSetStats implements Serializable {
private String typeString = "";
private int longest = 0;
private int shortest = NanoOKOptions.MAX_READ_LENGTH;
private int basesSum = 0;
private long basesSum = 0;
private double meanLength = 0;
private int n50 = 0;
private int n50Count = 0;
Expand Down Expand Up @@ -247,7 +247,7 @@ public synchronized int getNumReads() {
* Get total bases represented by read set.
* @return number of bases
*/
public synchronized int getTotalBases() {
public synchronized long getTotalBases() {
return basesSum;
}

Expand Down

0 comments on commit c23f155

Please sign in to comment.