-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First pass at trim functions #292
Conversation
Once #261 is in, it would be rather easy to leave But I'm equally happy not to have this. |
The code in I suspect the |
4856992
to
2dd55ac
Compare
Codecov Report
@@ Coverage Diff @@
## master #292 +/- ##
==========================================
- Coverage 86.25% 85.95% -0.31%
==========================================
Files 20 20
Lines 14086 14146 +60
Branches 2749 2755 +6
==========================================
+ Hits 12150 12159 +9
- Misses 1010 1061 +51
Partials 926 926
Continue to review full report at Codecov.
|
This is quite a lot of code and will need a lot of testing. Can we push this back to after 0.2.0? |
Yes - I'd much prefer to prioritise getting 0.2.0 out. I've only used the trim functionality (which was in |
Closing with the intent of opening a new PR, since the remove_sites functionality is now coded elsewhere |
Closes #288
No tests yet, as these will be easier once #261 is committed, so that we can easily make tree sequences with no trees to left or right.
Also the documentation will need improving (e.g. document the TableCollection methods). I will do this once the general approach has been approved by @jeromekelleher .