Open hyanwong opened 6 hours ago
This seems like a pretty serious usability issue, as there will often be interior regions that are masked (e.g. geneic regions) which can't easily be trimmed off. This is an easy fix, I'll get it in ASAP.
Thanks @nspope . Note that the other stats methods also have a similar (but not identical) issue: https://github.com/tskit-dev/tskit/issues/287
You might hope that the span-normalised coalescence rate would be the same for a given tree, even if the tree sequences has empty regions at the start or end, or even in the middle. However, this test fails:
It passes once we trim down:
@nspope says