Closed ctsa closed 1 week ago
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
src/bcf/record.rs | 10 | 11 | 90.91% | ||
<!-- | Total: | 10 | 11 | 90.91% | --> |
Totals | |
---|---|
Change from base Build 11799687230: | 0.04% |
Covered Lines: | 2498 |
Relevant Lines: | 3132 |
We have a use case (https://github.com/PacificBiosciences/HiFiCNV/issues/31) where some element of an input vcf/bcf record is surprising, and the program needs to error out. To make the error message as informative as possible for this case we'd like to print the problematic vcf record in the error message.
I'm proposing to add a new
to_vcf_string
method tobcf::Record
as a solution to this issue.