nglviewer / mdsrv

MD trajectory server
http://arose.github.io/mdsrv/
Other
36 stars 10 forks source link

Update to newest version of ngl #42

Open tonyyzy opened 5 years ago

tonyyzy commented 5 years ago

Hi

Current NGL version is 0.10.5-18. Would be nice to update to the newest version since the contactRepresentation is improved drastically.

I tried to manually replace the ngl.js file with 2.0-dev36 version but it couldn't load trajectories anymore. How does http://nglviewer.org/ngl/ do it?

arose commented 5 years ago

ping @j0kaso

j0kaso commented 5 years ago

Hey Tony!

There are some major changes to that version from the handling, that's why it does not work with just copy/paste but it will be in the new release (August/September).

When you're loading trajectories into ngl (without the MDsrv), they are loaded into the cache and only very few formats are available.

Btw - you're always welcome to make some pull requests or other suggestions/issues!

tonyyzy commented 5 years ago

@j0kaso That's nice to hear.

Glad you mentioned the format thing - I see the documentation website said it supports prmtop topology file? But I couldn't get it to work and using a pdb file instead worked.

j0kaso commented 5 years ago

Some files need the trajectory and a first frame to be able to visualize the structure. What exactly was the problem? (maybe also open an new issue ;-))