Adding variants iterator and other functions#132
Adding variants iterator and other functions#132LynxJinyangii wants to merge 5 commits intoHighlanderLab:mainfrom
Conversation
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
c443f64 to
c309e3a
Compare
|
I have rebased this to the most recent |
|
There is quite a bit to review in this PR, so best to make a list of new things! @LynxJinyangii I would appreciate such communication so it's easier to follow your work and thoughts etc. Best to err on the slight "over communication" that "no communication";) Even just copying From what I gather, this is the list of additions we should review:
|
| #' ts_file <- system.file("examples/test.trees", package = "RcppTskit") | ||
| #' tc <- tc_load(ts_file) | ||
| #' tc$sort() | ||
| sort = function(edge_start = 0L, no_check_integrity = FALSE) { |
There was a problem hiding this comment.
@LynxJinyangii I am comparing this R implementation against Python implementation at https://tskit.dev/tskit/docs/latest/python-api.html#tskit.TableCollection.sort and see that we have edge_start = 0L and no_check_integrity = FALSE, while Python version has edge_start=0, *, site_start=0, mutation_start=0. We must strive for parity of implementation, unless there is a strong need for deviation. Is there a reason you deviated from the Python version?
|
@LynxJinyangii I have pushed changes to this branch/PR (rebased to main, which required sorting some merge conflicts; and come comments on sort), so best if you first pull before you start changes on your end. |
|
I have done some polishing of the code, docs, and terms in my recent commit&push. @LynxJinyangii make sure you |
No description provided.