bioforensics / MicroHapulator

Tools for empirical microhaplotype calling, forensic interpretation, and simulation.
https://microhapulator.readthedocs.io/
Other
6 stars 1 forks source link

BAM auto-indexing and test suite updates #78

Closed standage closed 3 years ago

standage commented 3 years ago

This branch started as a small fix for BAM auto-indexing. But since the code has been neglected for months, I also had to do some updates to the test suite. It appears that many results depending on the random number generator have had to be updated. Numpy version incompatibility perhaps? Anyway, the updates to the test suite swamped the BAM auto-indexing code, which I'll try to highlight below. Closes #76.


standage commented 3 years ago

Aside from the two code blocks above, all changes are basically just addressing bitrot/atrophy.

codecov-io commented 3 years ago

Codecov Report

Merging #78 (5f9b60f) into master (5818044) will increase coverage by 0.01%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #78      +/-   ##
==========================================
+ Coverage   97.57%   97.59%   +0.01%     
==========================================
  Files          25       25              
  Lines         743      749       +6     
  Branches      141      141              
==========================================
+ Hits          725      731       +6     
  Misses          8        8              
  Partials       10       10              
Impacted Files Coverage Δ
microhapulator/type.py 97.10% <100.00%> (-0.13%) :arrow_down:
microhapulator/profile.py 99.14% <0.00%> (+0.03%) :arrow_up:
microhapulator/__init__.py 93.18% <0.00%> (+0.15%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 5818044...5f9b60f. Read the comment docs.

standage commented 3 years ago

The pending CI build is an artifact of the migration from travis-ci.org to travis-ci.com. (And it looks like Travis CI has gone down the tubes, but that's a topic for a different PR.)