Skip to content

Commit

Permalink
amber: QC file UniparentalDisomy prints "NONE" instead of null
Browse files Browse the repository at this point in the history
  • Loading branch information
hongwingl committed Mar 16, 2022
1 parent 4e80cec commit ac7a7af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions amber/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ Peak memory is measure in gigabytes.
- [3.8](https://github.com/hartwigmedical/hmftools/releases/tag/amber-v3.8)
- Added workaround for a bug in R copy_number module pcf function
- Fixed `NullPointerException` in tumor only mode
- Change QC file UniparentalDisomy prints NONE instead of null
- [3.7](https://github.com/hartwigmedical/hmftools/releases/tag/amber-v3.7)
- Fixed `NullPointerException` when no `-ref_genome` argument is provided
- [3.6](https://github.com/hartwigmedical/hmftools/releases/tag/amber-v3.6)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ private static List<String> toLines(@NotNull final AmberQC check) {
result.add("MeanBAF" + DELIMITER + FORMAT.format(check.meanBAF()));
result.add("Contamination" + DELIMITER + FORMAT.format(check.contamination()));
result.add("ConsanguinityProportion" + DELIMITER + FORMAT.format(check.consanguinityProportion()));
result.add("UniparentalDisomy" + DELIMITER + (check.uniparentalDisomy() != null ? check.uniparentalDisomy() : "null"));
result.add("UniparentalDisomy" + DELIMITER + (check.uniparentalDisomy() != null ? check.uniparentalDisomy() : "NONE"));

return result;
}
Expand Down

0 comments on commit ac7a7af

Please sign in to comment.