[Chimera-users] How to change the default color for pseudobonds?
Oliver Clarke
olibclarke at gmail.com
Wed Nov 6 11:17:20 PST 2013
Perfect, thank you both for the quick responses. Adjusting the default in the source worked perfectly.
Cheers,
Oliver.
On Nov 6, 2013, at 1:36 PM, Eric Pettersen <pett at cgl.ucsf.edu> wrote:
> 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/c8661ba1/attachment.html>
More information about the Chimera-users
mailing list