ManuSetty / wishbone

Wishbone is an algorithm to align cells along developmental trajectories with branches
GNU General Public License v2.0
42 stars 35 forks source link

module 'wishbone' has no attribute 'wb' #37

Closed agelber closed 7 years ago

agelber commented 7 years ago

Hi,

I have just started looking into wishbone. However when I try to follow the tutorial I continually get the error: module 'wishbone' has no attribute 'wb'

Do you have any idea why this might be? I have anaconda installed with python 3.6.

Thanks, Alon

ManuSetty commented 7 years ago

Hello

How did you install Wishbone - Did you install from source?

agelber commented 7 years ago

Yes, I cloned it from your GitHub repository and then used pip3 to install it. Not sure if this helps but I took a screenshot of the error and attached it here.

screen shot 2017-05-22 at 9 56 26 pm
ManuSetty commented 7 years ago

I just tried a fresh install on my computer with Python 3.6. and unfortunately wasn't able to reproduce this issue. Can you give me more details about the platform on which you are running into this.

agelber commented 7 years ago

I'm not exactly sure why this was happening but I did finally get it working. I was able to recreate the issue on a mac and on a machine running ubuntu but I think it may have been because different dependencies were installed using different python versions. I'm not quite sure. I do know that on a fresh python install, the wishbone pip3 install will fail on a Cython dependency issue, which the user then has to manually install. Maybe in the previous cases this was installed with Python 2 or something?

ManuSetty commented 7 years ago

Ok great - glad it worked. Thanks for pointing out the Cython dependency issue. I will leave the issue open until I put in the patch

ManuSetty commented 7 years ago

Fixed in a2fcffcd0bf87c60c0227c92395b362844441d8d