etetoolkit / ete

Python package for building, comparing, annotating, manipulating and visualising trees. It provides a comprehensive API and a collection of command line tools, including utilities to work with the NCBI taxonomy tree.
http://etetoolkit.org
GNU General Public License v3.0
786 stars 214 forks source link

'SeqMotifFace' not available in ete3.__version__ '3.1.1'? #353

Closed DEsalasL closed 6 years ago

DEsalasL commented 6 years ago

after importing ete3 in version 3.1.1 (this under python 2.7)

import ete3 seqFace = ete3.SeqMotifFace(seqs[gene], gapcolor="red") Traceback (most recent call last): File "", line 1, in AttributeError: 'module' object has no attribute 'SeqMotifFace'

is the module not available in that package or should I call the module in a different way?

Many thanks in advance for any help D

jhcepas commented 6 years ago

I cannot really reproduce it. Some info that may help debuging: How did you install ete3? Can you import other faces? can you import PyQt5 or PyQt4? What do you see when executing dir(ete3)?

DEsalasL commented 6 years ago

Hi, Perhaphs the modules you mention were missing but I didn't get a warning error about that. I had to install ete3 under conda and it worked without any problem. Many thanks ! D

jhcepas commented 6 years ago

yes, there are no specific warnings... my bad. I will try to include them in future versions. good that is working now!