ashander / ftprime

Forward-time simulation of the msprime data structure (for development)
2 stars 1 forks source link

added tables input to argrecorder #40

Closed petrelharp closed 7 years ago

petrelharp commented 7 years ago

This provides a convenient way to let someone start an empty argrecorder. The only change is that all args should be keyword args now (rearranged the order a bit to __init__().) In particular, passing ts=msprime.simulate(10) still works.

Closes #39.

codecov[bot] commented 7 years ago

Codecov Report

Merging #40 into master will decrease coverage by 0.59%. The diff coverage is 82.75%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master      #40     +/-   ##
=========================================
- Coverage   82.72%   82.12%   -0.6%     
=========================================
  Files           3        3             
  Lines         191      207     +16     
=========================================
+ Hits          158      170     +12     
- Misses         33       37      +4
Impacted Files Coverage Δ
ftprime/recomb_collector.py 96.36% <100%> (ø) :arrow_up:
ftprime/argrecorder.py 76.66% <82.14%> (-0.2%) :arrow_down:

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 3fb2f74...33d555a. Read the comment docs.