hiclib / pastis

Poisson-based algorithm for stable inference of DNA Structure
http://hiclib.github.io/pastis/
Other
34 stars 15 forks source link

Adding unit tests for diploid #66

Closed gesinecauer closed 4 years ago

gesinecauer commented 4 years ago

I'm definitely not done adding unit tests, but figured I'd start this pull request so I can see the Travis CI builds

codecov[bot] commented 4 years ago

Codecov Report

Merging #66 into master will increase coverage by 20.77%. The diff coverage is 31.57%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master      #66       +/-   ##
===========================================
+ Coverage   14.59%   35.36%   +20.77%     
===========================================
  Files          48       48               
  Lines        3845     3798       -47     
===========================================
+ Hits          561     1343      +782     
+ Misses       3284     2455      -829
Impacted Files Coverage Δ
pastis/optimization/utils_poisson.py 33.33% <ø> (ø)
pastis/optimization/multiscale_optimization.py 9.74% <0%> (+9.74%) :arrow_up:
pastis/optimization/callbacks.py 67.2% <100%> (+67.2%) :arrow_up:
pastis/optimization/initialization.py 62.19% <100%> (+62.19%) :arrow_up:
pastis/optimization/pastis_algorithms.py 34.69% <19.29%> (+34.69%) :arrow_up:
pastis/optimization/poisson.py 70.04% <30.76%> (+70.04%) :arrow_up:
pastis/optimization/piecewise_whole_genome.py 10.43% <50%> (+10.43%) :arrow_up:
pastis/optimization/constraints.py 35.91% <50%> (+35.91%) :arrow_up:
pastis/optimization/counts.py 43.24% <50%> (+43.24%) :arrow_up:
pastis/optimization/load_data.py 53.84% <80%> (+53.84%) :arrow_up:
... and 13 more

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 13579fb...23dac77. Read the comment docs.