[chimera-dev] [Chimera-users] reset/savepos

Eric Pettersen pett at cgl.ucsf.edu
Thu Apr 2 14:13:20 PDT 2009


import Midas
Midas.positions.keys()

FYI, most command-line commands are implemented in the Midas module,  
usually in a function of the same name as the command.  So the  
implementation of "reset" is in "def reset" in Midas/__init__.py.  The  
implementation for commands that do the same things as tools (e.g.  
findhbonds, volume) are usually found in that tool's module though.

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


On Apr 2, 2009, at 2:06 PM, Matthew Dougherty wrote:

> thanks,
>
>
> how would I get the same list in python?
>
>
> On Apr 2, 2009, at 4:01 PM, Elaine Meng wrote:
>
>> Hi Matt,
>> The command "reset list" will list the names of saved positions in
>> the status line and Reply Log.
>> Best,
>> Elaine
>>
>> On Apr 2, 2009, at 1:37 PM, Matthew Dougherty wrote:
>>
>>> I have a chimera session file that is being passed around.
>>> Different users are using savepos with no common nomenclature for  
>>> the
>>> view_name.
>>>
>>> How can I get a list of all view_names?
>>>
>>> thanks, Matt
>>
>>
>>
>>
>
> _______________________________________________
> Chimera-users mailing list
> Chimera-users at cgl.ucsf.edu
> http://www.cgl.ucsf.edu/mailman/listinfo/chimera-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-dev/attachments/20090402/d5d74193/attachment.html>


More information about the Chimera-dev mailing list