Skip to content

Support negative indexing in Tree.unrank #949

@jeromekelleher

Description

@jeromekelleher

This would be useful for generating the last tree in the ordering, as discussed in #944. We'd like to be able to write

tree = tskit.Tree.unrank((-1, 0), 6)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions