
Sorry, just to clarify my previous request: this is a script that does what I want though a selection attribute would be faster I think. for a in chimera.openModels.list()[0].atoms: if a in chimera.selection.currentAtoms(): print "this atom of the molecule is selected" #to say something else: print "this one isn't" cheers Dr. Jean-Didier Maréchal Lecturer The Computational Biotechnological Chemistry Team Unitat de Química Física Departament de Química Universitat Autònoma de Barcelona Edifici C.n. 08193 Cerdanyola (Barcelona) Tel: +34.935814936 e-mail: JeanDidier.Marechal@uab.es www: http://asklipio.qf.uab.es ----- Missatge original ----- De: Jean Didier Pie Marechal <JeanDidier.Marechal@uab.cat> Data: Dijous, Octubre 11, 2012 12:39 pm Assumpte: attribute for selection?
HI,
I want to add attributes to atoms that are selected and those that aren't. I thought that atoms had a selection attribute already defined in chimera (something like a boolean) but I don't find it. I am wrong with that?
best, JD
Dr. Jean-Didier Maréchal Lecturer The Computational Biotechnological Chemistry Team Unitat de Química Física Departament de Química Universitat Autònoma de Barcelona Edifici C.n. 08193 Cerdanyola (Barcelona) Tel: +34.935814936 e-mail: JeanDidier.Marechal@uab.es www: http://asklipio.qf.uab.es