Skip to content

Number nodes properly when parsing Newick#85

Merged
LeoFeatherstone merged 5 commits intomainfrom
dev
May 17, 2025
Merged

Number nodes properly when parsing Newick#85
LeoFeatherstone merged 5 commits intomainfrom
dev

Conversation

@LeoFeatherstone
Copy link
Contributor

Corresponding issue: #84

Updating readNewick() so node ideas are unique. In short, they are now indexed by the order in which the parser encounters them. For example, in (A,B);, the index of A is 1, of B is 2, and 3 for the root.

Also refactored the code for more informative variables names and updated read Newick() description.

@LeoFeatherstone LeoFeatherstone merged commit 50d3fc9 into main May 17, 2025
2 checks passed
@github-actions
Copy link

🎉 This PR is included in version 1.10.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant