Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: improve Tree iterator ergonomics #384

Merged
merged 1 commit into from Nov 5, 2022
Merged

Conversation

molpopgen
Copy link
Member

Closes #383

* Remove deprecated Tree::path_to_root

* Tree::parents now returns Iterator and not Option

* Tree::children now returns iterator and not Option

* Tree::samples now returns Iterator and not Option

BREAKING CHANGE: return values changed
@molpopgen molpopgen merged commit 3dfaa0a into main Nov 5, 2022
@molpopgen molpopgen deleted the tree_api_ergonomics branch November 5, 2022 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tree iterator ergonomics
1 participant