> I just discovered that I can't set colors with more than one
> decimal point
> of precision. Is there any way around this? I'm trying to get a
> background that blends in with part of a web page.
>
Not true... just the output is rounded. The exact color is whatever you set it
to.
PyMOL>set_color test,[0.555,0.666,0.777]
Color: "test" defined as [ 0.6, 0.7, 0.8 ].
print cmd.get_color_tuple("test")
PyMOL>print cmd.get_color_tuple("test")
(0.55500000715255737, 0.66600000858306885, 0.77700001001358032)
--
mailto:[email protected]
Warren L. DeLano, Ph.D.
Informatics Manager
Sunesis Pharmaceuticals, Inc.
341 Oyster Point Blvd.
S. San Francisco, CA 94080
(650)-266-3606 FAX:(650)-266-3501