-
Notifications
You must be signed in to change notification settings - Fork 171
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
Question about automatically collapsing filter selection in html #745
Comments
Do you mean go from a list of atom IDs to something like ":A and 1-4 or 7 or 10". I don't know of a way to do this at the moment but it would certainly be a nice addition. I guess you could fairly easily create a naive implementation (walk through models, chains, residues, atoms and build a big nested and/or statement). For a more thorough job, a quick google suggests the relevant term might be rewriting but it's not an area I have any knowledge of... |
Hey thank you, eventually found a workaround! |
a bit late to the party, but, what was the workaround? I have the same question... |
HI Guillermo! I actually don't remember. Shortly after I translated the project to mol*. |
We're on our way of doing that also, but for the moment it's easier to build on existing nfg scripts.
Thanks for the quick reply!
…Sent from my Galaxy
-------- Original message --------
From: Noelia Ferruz <[email protected]>
Date: 1/7/21 21:09 (GMT+01:00)
To: nglviewer/ngl <[email protected]>
Cc: "Pérez Hernández, Guillermo" <[email protected]>, Comment <[email protected]>
Subject: [ext] Re: [nglviewer/ngl] Question about automatically collapsing filter selection in html (#745)
HI Guillermo!
I actually don't remember. Shortly after I translated the project to mol*.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#745 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABZLONBODD2EOJML4CQNMXTSYYIH5ANCNFSM4M5WH3PA>.
|
Hi,
I am rendering on a web a protein and a ligand, with the residues around the ligand as well.
This is the code to select the residues around the ligand:
The selection looks too large in the web though. The users can of course collapse it by hand, but I was wondering if there's a way to automatically collapse it upon loading? Something like, collapse=True (this didn't work)?
Thanks
The text was updated successfully, but these errors were encountered: