Repository navigation
tskit C API 1.0 and associated changes - #248
Conversation
|
With this first commit, it builds fine except for one error: "No member named Indeed, [ EDIT: I commented out the entirety of CheckCoalescenceAfterSimplification() for now, so that things compile, so that I can proceed with other work on this branch that doesn't depend upon coalescence checking... ] |
|
(I have no idea how the "ui icon tweaks for better quality" commit weaselled its way into this PR; I could swear I pushed that commit before I made this branch. Bizarre. Well, it isn't doing any harm hanging out in here until this gets merged...) |
|
Just added a call to Anyhow, the orthogonal question is whether it should be "tick" or "ticks"; @benjeffery is there a stated preference for this, regarding singular vs. plural? |
|
For the first use of left_root, it looks like we're just checking whether there's more than one root, so we can use do And, for the second one, I think we can do instead of use get_left_root: |
Yep, those fixes seem good, thanks @petrelharp. |
Plural seems to be the way to go, as I've seen "generations" "seconds" etc suggested. |
|
Just an update: the tskit_one_point_oh branch has been updated to tskit 0.99.15, and appropriate fixes have been put in to match the changes done on the tskit side with respect to reading/writing the reference sequence. Changes pushed to GitHub. Seems good so far; running the full test suite now, which takes several hours. |
|
OK, all tests passed, including with crosscheck enabled. Good to go. I'm going to merge this branch in, since 0.99.15 is an official tskit release and there seem to be no problems with it. We'll merge in C API 1.0 in a separate pass when the time comes. |
Fixes #247 (or will when it's done!).
At present, this merges in a prerelease commit of tskit, just to get the ball rolling and see how things go. I don't plan to merge this PR in until it has the final release version of tskit C API 1.0; until then, I'll just fix other bugs in this PR that depend upon the new tskit changes (see #247 for links to those bugs).