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 does not work with JLab #2

Open
jimboid opened this issue Feb 23, 2023 · 0 comments
Open

nglview does not work with JLab #2

jimboid opened this issue Feb 23, 2023 · 0 comments

Comments

@jimboid
Copy link
Member

jimboid commented Feb 23, 2023

The show_file() method does not load files when using Jupyterlab. Work around seems to be to use mdtraj.load_pdb() with show_mdtraj.

So

nglview.show_mdtraj(mdtraj.load_pdb(FILE))

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

1 participant