[Chimera-users] How to change the default color for pseudobonds?

Eric Pettersen pett at cgl.ucsf.edu
Wed Nov 6 10:36:59 PST 2013


On Nov 5, 2013, at 4:45 PM, Oliver Clarke <olibclarke at gmail.com> wrote:

> Greetings,
> 
> Is there any way to change the default color for pseudo bonds (e.g. distance monitors)?
> 
> I generally work on a white background, and the default of yellow is very difficult to see. Pretty much everything else in the Chimera GUI seems to be customizable, which I love, but I can’t see how to alter the default in this particular instance.

Yes, as Elaine said there probably should be an option for this.  I will put a feature-request ticket in the Chimera Trac database for this.  In the interim, in addition to Elaine's suggestions you could modify your Chimera to do this by editing <your Chimera>/share/StructMeasure/DistMonitor.py, line 61, and change:

distanceMonitor = addMonitoredGroup('distance monitor')

to:

distanceMonitor = addMonitoredGroup('distance monitor', color="purple")

to make distance monitors default to purple, Obviously you could use any other color name you wanted instead of purple.

Note that on a Mac "<your Chimera>" is Chimera.app/Contents/Resources.

--Eric

                        Eric Pettersen
                        UCSF Computer Graphics Lab
                        http://www.cgl.ucsf.edu


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20131106/6bf004c0/attachment.html>


More information about the Chimera-users mailing list