Skip to content

requirements.txt for PY3? #7

@todd-cook

Description

@todd-cook

Hi, could you share a pip list requirements, it seems that the ete3 library has changed; I'm wondering what version worked.

executing this:
from pystyl.analysis import distance_matrix, hierarchical_clustering

yields:
pystyl/pystyl/clustering/dendrogram.py in
21 from ete2 import Tree, faces, AttrFace, TreeStyle, NodeStyle, TextFace, Face
22 elif sys.version_info[0] == 3:
---> 23 from ete3 import Tree, faces, AttrFace, TreeStyle, NodeStyle, TextFace, Face

Based on: http://etetoolkit.org/docs/latest/reference/reference_treeview.html#nodestyle
it looks like some of the imports are no longer top level.

I don't mind making a PR to fix this, but I'd like to know what version of that library worked, so I can assess and not tamper with more than necessary, or so that I know how deep the rabbit hole goes.
Thanks!
Todd
(using PY 3.68, fwiw)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions