[chimera-dev] Model panel rename
Eric Pettersen
pett at cgl.ucsf.edu
Wed Oct 14 11:24:59 PDT 2015
In a somewhat similar fashion:
from chimera import dialogs
ce = dialogs.display(“color editor”)
—Eric
> On Oct 13, 2015, at 8:46 PM, Dougherty, Matthew T <matthewd at bcm.edu> wrote:
>
> similar question, how do I bring up the color editor?
>
> Matthew Dougherty
> National Center for Macromolecular Imaging
> Baylor College of Medicine
> =================================================
> =================================================
>
>
> From: Eric Pettersen <pett at cgl.ucsf.edu>
> Sent: Tuesday, October 13, 2015 4:56 PM
> To: Dougherty, Matthew T
> Cc: chimera-dev at cgl.ucsf.edu
> Subject: Re: [chimera-dev] Model panel rename
>
>
>> On Oct 13, 2015, at 2:31 PM, Eric Pettersen <pett at cgl.ucsf.edu <mailto:pett at cgl.ucsf.edu>> wrote:
>>
>> from ModelPanel.base import _mp as mp
>
> Upon further reflection, the above line isn’t the best way to get the Model Panel instance, since it uses a private variable and it doesn’t create the Model Panel if needed. Use the following instead
>
> from ModelPanel import ModelPanel
> from chimera import dialogs
> mp = dialogs.display(ModelPanel.name)
>
> —Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-dev/attachments/20151014/b44bac06/attachment.html>
More information about the Chimera-dev
mailing list