You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am playing a bit with ete3 manually adding nodes and leaves to a pre-existing tree.
When adding a child (or a sister) I only seem to be able to do so by creating polytomies.
Therefore I am experimenting on how to solve them. I first tried the expand_polytomies() function, which produces the results I want (I just need to choose which topology I want) but does not output the name of the internal nodes of the tree.
I am now trying with resolve_polytomies(). First, I chose the node using the .get_common_ancestor() function and tried to use the function on the node, and second I am using the whole tree (root node), and in both cases I get the same error AttributeError: 'TreeNode' object has no attribute 'resolve_polytomies'.
Any hints on this?
Thank you!
The text was updated successfully, but these errors were encountered:
Hello!
I am playing a bit with ete3 manually adding nodes and leaves to a pre-existing tree.
When adding a child (or a sister) I only seem to be able to do so by creating polytomies.
Therefore I am experimenting on how to solve them. I first tried the expand_polytomies() function, which produces the results I want (I just need to choose which topology I want) but does not output the name of the internal nodes of the tree.
I am now trying with resolve_polytomies(). First, I chose the node using the .get_common_ancestor() function and tried to use the function on the node, and second I am using the whole tree (root node), and in both cases I get the same error AttributeError: 'TreeNode' object has no attribute 'resolve_polytomies'.
Any hints on this?
Thank you!
The text was updated successfully, but these errors were encountered: