Hi I-Ji, the "sele" name is hard coded and cannot be changed. But you could write a wizard which automatically renames the selection immediately. Writing wizards is not trivial and require python scripting skills (but this would be a very simple wizard).
Cheers, Thomas On 04 May 2014, at 17:22, I-Ji Jung <u5205...@anu.edu.au> wrote: > Hi pymol gurus out there, > > I'm trying to write a python script for a project and I need to know how to > auto-name a selection. Is there a way in which I can make the default 'sele' > selection name become protein name-chain-residue name-residue number when I > click on a residue? You know when you label a residue, it labels it to a > format of resn-resi (e.g. TYR-37..). I want it to be in like that sort of > format. > > Of course I want to know how to do this for more than one residue. Also I > want to know how to turn this auto-naming on and off too. > > Any advice will be greatly appreciated!! > > Thanks > > I-Ji -- Thomas Holder PyMOL Developer Schrödinger, Inc. ------------------------------------------------------------------------------ Is your legacy SCM system holding you back? Join Perforce May 7 to find out: • 3 signs your SCM is hindering your productivity • Requirements for releasing software faster • Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce _______________________________________________ PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net