Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nglview on google colab #995

Closed
andresilvapimentel opened this issue Sep 10, 2021 · 12 comments
Closed

nglview on google colab #995

andresilvapimentel opened this issue Sep 10, 2021 · 12 comments

Comments

@andresilvapimentel
Copy link

It would be great if nglview could be run on google colab.

Is there a installation procedure for nglview on google colab?

@hainm
Copy link
Collaborator

hainm commented Sep 15, 2021

hi @andresilvapimentel, it's up to google to implement the feature.

googlecolab/colabtools#1049

@hainm hainm closed this as completed Sep 22, 2021
@hainm
Copy link
Collaborator

hainm commented Sep 28, 2021

hi @andresilvapimentel it seems nglview will work in codelab soon: googlecolab/colab-cdn-widget-manager#13

@blois
Copy link

blois commented Sep 30, 2021

@hainm
Copy link
Collaborator

hainm commented Sep 30, 2021

@blois thanks. But the trajectory player does not seem to work.

@blois
Copy link

blois commented Sep 30, 2021

Ah, good to know. Will dig into that.

@blois
Copy link

blois commented Oct 7, 2021

I believe that the trajectory player should now be working.

@hainm
Copy link
Collaborator

hainm commented Oct 8, 2021

I believe that the trajectory player should now be working.

Thanks @blois. The molecule structure looks weird (duplicated) in codelab.

Saying I move the slider to value of 40.

In codelab: Try to slide the slider to see what I mean.
image

In Jupyter notebook:
image

@hainm
Copy link
Collaborator

hainm commented Jan 11, 2022

It would be great if nglview could be run on google colab.

Thanks to @blois, we can run nglview on google colab now. Cheers.

@davidlmobley
Copy link

I'm having problems with the trajectory viewer in Colab. I can confirm nglview now works, but the trajectory viewer is giving me jumbled molecules. Example to reproduce MobleyLab/drug-computing#101

@elizabeththrall
Copy link

Hello all, I'm also having an issue with the ngl trajectory viewer in Colab. The trajectory plays, but the first frame remains superimposed on all the subsequent frames. The trajectory plays properly without the duplicated first frame in a Jupyter notebook outside of Colab.

I am using the MDAnalysis package to create a Universe object from an .xyz file and then show_mdanalysis to visualize it. The notebook is attached in case it helps. Thanks for supporting this great tool!

notebookfile.zip

@hainm
Copy link
Collaborator

hainm commented Jul 6, 2022 via email

@hainm
Copy link
Collaborator

hainm commented Jul 6, 2022

Here is the tracked case: googlecolab/colabtools#2853 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants