Re: [PyMOL] echo colour

2013-01-23 Thread Thomas Holder
Hi Joel, the color is stored as a numeric atom property, you can use iterate to get it. PyMOL iterate (first objX), print color If you need the name of the color, get the index to name mapping as a dictionary from PyMOL like this: PyMOL stored.cn = dict((i,c) for (c,i) in

Re: [PyMOL] echo colour

2013-01-23 Thread Joel Tyndall
Thanks Thomas, seems to work. -Original Message- From: Thomas Holder [mailto:thomas.hol...@schrodinger.com] Sent: Wednesday, 23 January 2013 10:47 p.m. To: pymol-users@lists.sourceforge.net Subject: Re: [PyMOL] echo colour Hi Joel, the color is stored as a numeric atom property, you