Repository navigation
High-level doc structure for available stats. - #254
Conversation
Codecov Report
@@ Coverage Diff @@
## master #254 +/- ##
======================================
Coverage 85.8% 85.8%
======================================
Files 19 19
Lines 14071 14071
Branches 2736 2736
======================================
Hits 12074 12074
Misses 1043 1043
Partials 954 954
Continue to review full report at Codecov.
|
|
I am not sure about pushing directly to this branch; but I've pulled, amended, and pushed a new branch to this repo with this same name. I can't edit this PR to point to that branch, though. |
You should be able to as you're an admin. Did you try |
|
Oh, I see. I was getting a non-fast-foward error, which is because I'd rebased to master. I've force-pushed; how's that? |
|
Looks great to me, thanks @petrelharp. The travis error is unrelated, I'll open an issue to track fixing that. I'll merge one the rest of the CI has gone through. |
|
Ah, hold on I want to add one thing - documentation of the general stat interface. |
|
The travis issues should be sorted out after a rebase @petrelharp (FYI for when you update this). |
Closes tskit-dev#213 doc additions and afs tutorial tweak documented general method
|
Ok, should be good to go (for this iteration anyhow :). |
| @@ -3254,6 +3256,47 @@ def draw_text(self, **kwargs): | |||
|
|
|||
| def general_stat(self, W, f, windows=None, polarised=False, mode=None, | |||
| span_normalise=True): | |||
There was a problem hiding this comment.
Related to this: it may be nice to show the Python implementation of Tajima's D in the docs. I think concrete examples are really helpful in making the generalities of the docstring less opaque.
|
Checks are passing; I'm going to merge this and we can continue improving the docs in another PR. |
|
Merging - thanks for the updates @petrelharp. |
Adds a structured index of stats that we have implemented to the stats docs page. The structure is tentative - I think you're in a much better position to put some sensible structure and describe the high-level properties of the stats @petrelharp.
Also, I didn't address this point:
What do you think @petrelharp? If you want to update this before merging, you should be able to push commits to this branch. Otherwise, we can merge and create some issues to track the changes that need to be made.