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 have used your tool previously to draw some trees. Now, coming back to edit some minor things, I can't get it to work.
Firstly, I've tried installing ete3 using your instructions. I'm on Mac OS.
conda install -c etetoolkit ete3 ete_toolchain
which fails with an error
Encountered problems while solving:
- package ete_toolchain-3.0.0-h73706c9_0 requires pmodeltest 1.4.*, but none of the providers can be installed
Trying to remove ete_toolchain like so
conda install -c etetoolkit ete3
yield this dependency issue
Encountered problems while solving:
- nothing provides qt 4.8.* needed by pyqt-4.11.4-py27_0
OK, so the recommended way fails due to dependency issues. I tried to install it from conda-forge which has your latest 3.1.2 release. It works, presumably due to upscaling the Pyqt version to PyQt5. However, the simplest example fails with an exception:
# ii.setDotsPerMeterX(dpi / 0.0254) # Convert inches to meters# ii.setDotsPerMeterY(dpi / 0.0254)ii.setDotsPerMeterX(int(dpi/0.0254)) # Convert inches to metersii.setDotsPerMeterY(int(dpi/0.0254))
which lead me to the following error
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
Cell In[3], line 4
1 from ete4 import Tree
3 t = Tree( "((a,b),c);" )
----> 4 t.render('%%inline')
File ~/Projects/ete_sandbox/ete/ete4/coretype/tree.pyx:1375, in ete4.coretype.tree.Tree.render()
File ~/Projects/ete_sandbox/ete/ete4/treeview/drawer.py:65, in render_tree(t, imgName, w, h, layout, tree_style, header, units, dpi)
63 n.add_prop("_nid", nid)
64 scene, img = init_scene(t, layout, tree_style)
---> 65 tree_item, n2i, n2f = render(t, img)
67 scene.init_values(t, img, n2i, n2f)
68 tree_item.setParentItem(scene.master_item)
File ~/Projects/ete_sandbox/ete/ete4/treeview/qt4_render.py:212, in render(root_node, img, hide_root)
209 na_face = faces.AttrFace("name", fsize=10, ftype="Arial", fgcolor="black")
211 for n in root_node.traverse(is_leaf_fn=_leaf):
--> 212 set_style(n, layout_fn)
214 if img.show_branch_length:
215 n.add_face(bl_face, 0, position="branch-top")
File ~/Projects/ete_sandbox/ete/ete4/treeview/qt4_render.py:731, in set_style(n, layout_func)
726 def set_style(n, layout_func):
727 #if not isinstance(getattr(n, "img_style", None), NodeStyle):
728 # print "Style of", n.name ,"is None"
729 # n.set_style()
730 # n.img_style = NodeStyle()
--> 731 n.add_prop("_temp_faces", _FaceAreas())
734 for func in layout_func:
735 func(n)
File ~/Projects/ete_sandbox/ete/ete4/treeview/main.py:522, in _FaceAreas.__init__(self)
520 def __init__(self):
521 for a in FACE_POSITIONS:
--> 522 setattr(self, a, FaceContainer())
File ~/Projects/ete_sandbox/ete/ete4/treeview/main.py:527, in _FaceAreas.__setattr__(self, attr, val)
525 if attr not in FACE_POSITIONS:
526 raise AttributeError("Face area [%s] not in %s" %(attr, FACE_POSITIONS) )
--> 527 return super(_FaceAreas, self).__setattr__(attr, val)
TypeError: super(type, obj): obj must be an instance or subtype of type
OK, so, at this point, I gave up.
So, please, dear developers, provide at least a single working version of your tool so that the people like me who relied on it in the past (and cited your work) can at least edit their own code. Thanks for your attention.
The text was updated successfully, but these errors were encountered:
I am also struggling to get ete installed following the installation instructions from the documentation. This issue was closed by @jordibc, but with no indication of how it has solved this issue?
Could not solve for environment specs
The following package could not be installed
└─ ete_toolchain does not exist (perhaps a typo or a missing channel).
Hello, folks,
I have used your tool previously to draw some trees. Now, coming back to edit some minor things, I can't get it to work.
Firstly, I've tried installing
ete3
using your instructions. I'm on Mac OS.which fails with an error
Trying to remove
ete_toolchain
like soyield this dependency issue
OK, so the recommended way fails due to dependency issues. I tried to install it from
conda-forge
which has your latest3.1.2
release. It works, presumably due to upscaling the Pyqt version toPyQt5
. However, the simplest example fails with an exception:Alright, the next thing I try is to install the newest version from GitHub.
It all works fine and, as a result, I get
Again, trying the example above
I get this error:
Alright, after installing Matplotlib with
and rerunning the example above I get the same error as with the old
ete=3.1.2
After reading the traceback, I tried replacing the line
Which leads to an error below:
Again, I tried casting to the correct type
which lead me to the following error
OK, so, at this point, I gave up.
So, please, dear developers, provide at least a single working version of your tool so that the people like me who relied on it in the past (and cited your work) can at least edit their own code. Thanks for your attention.
The text was updated successfully, but these errors were encountered: