-
Notifications
You must be signed in to change notification settings - Fork 85
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
RFC: Jupyter/IPython Notebook Features #125
Comments
Here is the new API, the above sample probably doesn't work anymore :). import pvviewer as pv
structure = pv.mol.from_pdb_id('2por')
viewer = pv.Viewer()
viewer.cartoon('porin', structure, color=pv.color.ss_succession())
viewer.auto_zoom()
viewer.show() |
@biasmv great, thanks for the ping.
how's about rendering a trajectory from simulation? like chemview package here We have an engine, pytraj/cpptraj, can parse different types of format from different simulation packages, it would be really great if there is an way to plug our to your. |
That sounds like a plan. I'll look into it to see what is required to making that happen. |
Hello @biasmv! |
may be you can right click then choose "Inspect", then choose Console to see error message from Javascript? |
I suspect that you're getting an error for calling On Thu, Jun 16, 2016 at 8:03 AM, Hai Nguyen notifications@github.com
|
@satary: It's hard to say what's going on. As @hainm pointed out, you might see what's wrong by taking a look at the JavaScript console of your browser. @ajfarkas: The |
Thanks @hainm!
I don't know if it is google chrome issue or something else UPD. |
@satary: I've update the python module to use rawgit. Can you try if the latest version is working for you? Best, |
@biasmv may be let |
@hainm: yes, that's certainly the better solution. I'll look into it. Won't happen before the weekend, though. |
Hi All,
I've pushed an initial version of an alternative Jupiter/IPython notebook module for PV to master. It's a little more powerful than the previous version and allows to load structures from local files. In theory everything that can be converted to a PDB string can be loaded in the viewer. Later one, one could think of using a richer serialisation format.
The module only supports the basics: creating the viewer, adding molecules to it. For example:
This will load the PDB 2por from PDB.org and display it in the viewer using the cartoon render mode.
@aebrahim, @hainm: Since you seem to be using Jupyter/IPython Notebooks, I thought I might ping you regarding the recent changes.
What would the most important features to you?
The text was updated successfully, but these errors were encountered: