Closed huanyusb closed 8 years ago
Hm works fine for me. Could you try updating ngl with conda update nglview
? Mine is on version 0.4
I tried nglviwer 0.4 and 0.5, but both of them failed.
which browser?
On 13 October 2016 at 10:22, huanyusb notifications@github.com wrote:
I triednglviwer 0.4 and 0.5, but both of them failed.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Acellera/htmd/issues/157#issuecomment-253447082, or mute the thread https://github.com/notifications/unsubscribe-auth/AHaqOqEZHFi2SGG2K-GRkaiMUvdE42R6ks5qzepagaJpZM4KVcqG .
<https://twitter.com/acellera>
https://www.youtube.com/user/acelleracom https://www.linkedin.com/company/2133167?trk=tyah&trkInfo=clickedVertical%3Acompany%2CclickedEntityId%3A2133167%2Cidx%3A2-1-2%2CtarId%3A1448018583204%2Ctas%3Aacellera https://www.acellera.com/md-simulation-blog-news/ http://is.gd/1eXkbS
@giadefa It's Chrome, version 53.0.2785.143 (64-bit), on a ubuntu 16.04 desktop
Which versions of ipython and notebook do you have?
conda list | egrep "(notebook|ipython )"
FYI: nglview
API was changed significantly for better performance.
https://github.com/arose/nglview/blob/master/nglview/adaptor.py#L178-L210
htmd
dev might need to update your code:
https://github.com/Acellera/htmd/blob/master/htmd/molecule/molecule.py#L1004
cheers
thanks for the tip @hainm. still, that should be in 0.5, and this seems to occur also on 0.4.
@j3mdamas the ipython version is 4.1.2 and the notebook version is 4.2.1
ngl does not work for me at all. need to check what is going on.
We are on the way of fixing this. @stefdoerr already updated nglview.
Apparently there is a lingering problem with jupyter, where we need to enable the nlgview extension:
jupyter nbextension enable --py widgetsnbextension
jupyter nbextension enable --py nglview
jupyter nbextension enable --py nglview
No, you don't need to do that. nglview
does itself. https://github.com/arose/nglview/blob/master/setup.py#L34
@hainm Yes but who calls setup.py
if you install via conda?
I tried on other computers after it worked for me and it didn't work through conda alone. Installing with github repo and setup.py
worked in all cases. Also with conda and the two commands Joao mentioned it worked. So it seems that if you install through conda the extension is not enabled.
you should update your conda recipe. e.g: https://github.com/conda-forge/ipyleaflet-feedstock/blob/master/recipe/post-link.sh
oh ok. @mj-harvey can you do that?
So, with
0.5.2 py35_4 acellera
it is working. in the current master
. It will be available on the next release (1.5.2)
btw, thank you very much for your input @hainm !
Fixed in devel and next release
I try the example on the homepage of htmd.org, here is the output:
the ngl viewer shows a blank page. I also tried the nglviwer module: https://github.com/arose/nglview It works well. Could anybody give me some instructions? Thank you.