Browse files

Fixed nasty bug in BQSR csv file creation:

numbers larger than 999 in the Errors column were printed out with commas (which looks like a separate column).

This wasn't caught earlier because there are no integration tests covering the csv.  I'll add one into unstable in a sec.
  • Loading branch information...
1 parent 1774b66 commit f3d03f9ffd9032bfd16f7b7c33585350599a246d @eitanbanks eitanbanks committed Nov 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 public/java/src/org/broadinstitute/sting/utils/recalibration/
2 public/java/src/org/broadinstitute/sting/utils/recalibration/
@@ -199,7 +199,7 @@ public final byte getEmpiricalQualityAsByte() {
public String toString() {
- return String.format("%.2f,%,2f,%.2f", getNumObservations(), getNumMismatches(), getEmpiricalQuality());
+ return String.format("%.2f,%.2f,%.2f", getNumObservations(), getNumMismatches(), getEmpiricalQuality());
public String stringForCSV() {

0 comments on commit f3d03f9

Please sign in to comment.