Skip to content

AttributeError with toytree #49

@jsodicoff

Description

@jsodicoff

Hi all, thanks for your work on this! I was wondering if you could help me troubleshoot this issue I have run into using the notebook on Colab. I get the following error after completion of the ml calculation, any ideas on what to try? Thanks.

AttributeError                            Traceback (most recent call last)
[/usr/local/lib/python3.10/dist-packages/topiary/_private/interface.py](https://localhost:8080/#) in wrapper(*args, **kwargs)
     31         try:
---> 32             value = func(*args, **kwargs)
     33         except Exception as e:

8 frames
AttributeError: module 'toytree' has no attribute 'Toytree'

The above exception was the direct cause of the following exception:

WrappedFunctionException                  Traceback (most recent call last)
WrappedFunctionException: 

Caught exception in function 'generate_ml_tree'. Returning to starting
directory and cleaning up. Check error stack for cause of
this error.



The above exception was the direct cause of the following exception:

WrappedFunctionException                  Traceback (most recent call last)
[/usr/local/lib/python3.10/dist-packages/topiary/_private/interface.py](https://localhost:8080/#) in wrapper(*args, **kwargs)
     36             err += "directory and cleaning up. Check error stack for cause of\n"
     37             err += "this error.\n\n"
---> 38             raise WrappedFunctionException(err) from e
     39 
     40         return value

WrappedFunctionException: 

Caught exception in function 'alignment_to_ancestors'. Returning to starting
directory and cleaning up. Check error stack for cause of
this error.```

































Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions