We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
tables = tskit.TableCollection(1) for _ in range(10): tables.nodes.add_row(flags=tskit.NODE_IS_SAMPLE, time=0) ts = tables.tree_sequence() print(ts) tree = tskit.Tree(ts) tree.first() print(tree.roots) # Gives [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] tree = tskit.Tree(ts, root_threshold=2) tree.first() print(tree.roots) # Gives [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
The list of roots should be empty in the second case.
The text was updated successfully, but these errors were encountered:
Document orderings
a384c3e
Closes tskit-dev#1691 Closes tskit-dev#1706
a882a5d
jeromekelleher
No branches or pull requests
The list of roots should be empty in the second case.
The text was updated successfully, but these errors were encountered: