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

Remove TreeNode from the main workflow #360

Merged
merged 7 commits into from
Aug 31, 2020

Conversation

ElDeveloper
Copy link
Member

Use BPTree for all operations. In addition, I also removed the usage of
"EmpressNodeXXX" to refer to unnamed nodes.

This resulted in a lot of code being deleted, and a few tests being removed
since bp.parse_newick differs from TreeNode.read. The biggest thing being that
missing length values are by default assigned to 0.

@emperor-helper
Copy link

The following artifacts were built for this PR: empire-biplot.qzv, empire.qzv, empress-tree.qzv

Copy link
Collaborator

@kwcantrell kwcantrell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ElDeveloper! There is a odd satisfaction in removing TreeNode and completely removing the Tree class. I have a just a couple of comments.

empress/support_files/js/canvas-events.js Outdated Show resolved Hide resolved
tests/python/test_core.py Show resolved Hide resolved
tests/python/test_tree.py Outdated Show resolved Hide resolved
@ElDeveloper
Copy link
Member Author

Thanks @kwcantrell all should be addressed.

@kwcantrell
Copy link
Collaborator

Thanks @ElDeveloper

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.

3 participants