Acellera / moleculekit

MoleculeKit: Your favorite molecule manipulation kit
Other
198 stars 37 forks source link

`atomselect` doesn't recognize `numbonds` #122

Open raimis opened 1 year ago

raimis commented 1 year ago

Molecule.atomselect doesn't recognize numbonds. This is a deviation from the original VMD implementation (https://www.ks.uiuc.edu/Research/vmd/vmd-1.9/ug/node87.html)

from moleculekit.molecule import Molecule
mol = Molecule('3PTB')
mol.atomselect('numbonds = 2')

RuntimeError: Failed to parse selection numbonds = 2 with error Syntax error at ''numbonds''
giadefa commented 1 year ago

we should probably not have something called numbonds

On Fri, 23 Dec 2022 at 16:10, Raimondas Galvelis @.***> wrote:

Molecule.atomselect doesn't recognize numbonds. This is a deviation from the original VMD implementation ( https://www.ks.uiuc.edu/Research/vmd/vmd-1.9/ug/node87.html)

from moleculekit.molecule import Moleculemol = Molecule('3PTB')mol.atomselect('numbonds = 2') RuntimeError: Failed to parse selection numbonds = 2 with error Syntax error at ''numbonds''

— Reply to this email directly, view it on GitHub https://github.com/Acellera/moleculekit/issues/122, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB3KUORW775SFU5VXFULKPLWOW6G7ANCNFSM6AAAAAATH2TIGI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- http://www.acellera.com

   <https://twitter.com/acellera>

https://www.youtube.com/user/acelleracom https://www.linkedin.com/company/2133167?trk=tyah&trkInfo=clickedVertical%3Acompany%2CclickedEntityId%3A2133167%2Cidx%3A2-1-2%2CtarId%3A1448018583204%2Ctas%3Aacellera https://www.acellera.com/md-simulation-blog-news/ http://is.gd/1eXkbS