Closed calchoo closed 1 year ago
Seems like one of the tests needs fixing?
=================================== FAILURES =================================== __ TestRefAltCalulator.test_calculate_count2 ___
self = <tests.test_tools.test_ref_alt_count.TestRefAltCalulator object at 0x7efd926ba990> calculator = <tools.calculate_ref_alt_counts.RefAltCalculator object at 0x7efd929595d0>
def test_calculate_count2(self, calculator):
ev1 = BreakpointPair(
Breakpoint('reference11', 9999, orient=ORIENT.LEFT),
Breakpoint('reference11', 10030, orient=ORIENT.RIGHT),
opposing_strands=False,
event_type=SVTYPE.DEL,
)
bpp = calculator.calculate_ref_counts(ev1)
print(bpp.data)
assert bpp.data["TEST_ref_count"] == 0
assert bpp.data["TEST_alt_count"] == 63
> assert bpp.data['TEST_ignored_count'] == 197
E assert 195 == 197```
Patch and project coverage have no change.
Comparison is base (
678323e
) 86.92% compared to head (749c71a
) 86.92%.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
filtering unmapped, duplicate, qcfailed reads from ref/alt calculation as we want these excluded from the calculations