[chimera-dev] Model panel rename
Dougherty, Matthew T
matthewd at bcm.edu
Tue Oct 13 16:19:09 PDT 2015
thanks, works as intended.
More like a cockpit than Rube Goldberg.
for the problem at hand I get a session file from a researcher, its organization of model names is essentially random text. I need to rename dozens of models to something that means something. The less I use a mouse for repetitive tasks, less aggravating it is. Moving it a cm is ok, moving it 6" one way, 7" another, keyboard input, then press ok, 50x. Much of my development is making the UI easier to work with. People can be lazy, particularly for what they see as intermediate stuff.
When the dialog box comes up, is there a way I can place it in a specific location?
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/20151013/28ab6a0b/attachment.html>
More information about the Chimera-dev
mailing list