mdsrv icon indicating copy to clipboard operation
mdsrv copied to clipboard

Update to newest version of ngl

Open tonyyzy opened this issue 5 years ago • 4 comments

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?

tonyyzy avatar Aug 01 '19 13:08 tonyyzy

ping @j0kaso

arose avatar Aug 01 '19 15:08 arose

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!

j0kaso avatar Aug 01 '19 16:08 j0kaso

@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.

tonyyzy avatar Aug 01 '19 20:08 tonyyzy

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 ;-))

j0kaso avatar Aug 01 '19 20:08 j0kaso