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

I encountered the error: AttributeError: 'NoneType' object has no attribute 'FindDists' How can I solve this? #5

Open
ShaoShengyuan opened this issue Nov 13, 2023 · 3 comments

Comments

@ShaoShengyuan
Copy link

          Thanks for your answer. But I met another problem like this

image

Originally posted by @ZxZxZhang in #4 (comment)

@reedstubbendieck
Copy link

I am also encountering this problem. Any solutions?

@ladavid
Copy link

ladavid commented Feb 8, 2024 via email

@reedstubbendieck
Copy link

reedstubbendieck commented Feb 8, 2024

Hi Lawrence. Thanks for reaching out. I figured out for my tree that some of my programs were not including the root properly in the .nwk file after rooting. The solution to get them to run was to enclose the tree in parentheses and add a :0 branch length for the root. Without doing this, there was an odd number of colons in the Newick file and multitree.py never got to colon_count == 1 to calculate the root distance.

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

No branches or pull requests

3 participants