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
http://docs.python.org/2/library/tempfile.html#tempfile.NamedTemporaryFile
Quote: If delete is true (the default), the file is deleted as soon as
it is closed.
Cheers,
Thomas
Boris Kheyfets wrote, On 01/23/13 14:47:
It prints the selection all right. Why then save wouldn't save it:
def
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