Re: [PyMOL] How to get the object name from chempy.Atom

2020-11-09 Thread Pedro Lacerda
Thank you, Thomas! Em seg., 9 de nov. de 2020 às 06:29, Thomas Holder < thomas.hol...@schrodinger.com> escreveu: > Hi Pedro, > > chempy.Atom doesn't store model and state. The only option I can think of > right now is to use a custom property (Incentive PyMOL feature, won't work > in Open-Source

Re: [PyMOL] How to get the object name from chempy.Atom

2020-11-09 Thread Thomas Holder
Hi Pedro, chempy.Atom doesn't store model and state. The only option I can think of right now is to use a custom property (Incentive PyMOL feature, won't work in Open-Source PyMOL): cmd.alter('all', 'p.model = model') print(cmd.get_model('all').atom[0].atom_properties['model']) Or

[PyMOL] How to get the object name from chempy.Atom

2020-11-06 Thread Pedro Lacerda
Hi, I got an `chempy.Atom` instance via `cmd.get_model().atom`. How to get the state and object name. Thank you! -- Pedro Sousa Lacerda Laboratório de Bioinformática e Modelagem Molecular / UFBA Mestrando em Ciências Farmácias / UEFS @pslacerda +55 71 9 9981-1856