Closed clintval closed 1 week ago
Attention: Patch coverage is 84.61538%
with 2 lines
in your changes missing coverage. Please review.
Project coverage is 97.25%. Comparing base (
5515d05
) to head (80ea938
). Report is 1 commits behind head on main.
Files with missing lines | Patch % | Lines |
---|---|---|
prymer/offtarget/bwa.py | 84.61% | 0 Missing and 2 partials :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
I have one strangely failing test on GitHub CI (but not locally):
FAILED tests/offtarget/test_bwa.py::test_header_is_properly_constructed - AssertionError: assert {'PG', 'SQ'} == {'HD', 'PG', 'SQ'}
Extra items in the right set:
'HD'
Full diff:
- {'HD', 'PG', 'SQ'}
? ------
+ {'PG', 'SQ'}
Will debug...
EDIT: the issue is we were using the old bwa repo in FG's org.
It is mentioned
pysam.AlignmentFile
internally buffers stdin so a hack was devised to "warm it up".However,
fgpyo.sam.reader
andpysam.AlignmentFile
are not needed and only provide code indirection since we can build the SAM header and all subsequent records using thefrom_text()
/fromstring()
methods of each.