[chimera-dev] minimize in IDLE and command line

Victor Muñoz chewaka.87 at gmail.com
Thu Apr 7 11:07:03 PDT 2011


Dear Elisabeth,

Try this:

First import the MMTKinter

*from MMMD.MMTKinter improt MMTKinter*

Now let's initialize the class:

*energy = MMTKinter(chimera.openModels.list(id=0), nogui = True)*

Now let's create the universe:

*energy.loadMMTKCoordinates()*

And now let's print the energy

*energy.universe.energy()*

I think if you do this from the IDLE you should get the energy. You have to
take into account that in id = X, X is the model number for what you wish to
calculate the energy when you initialize the function.

Kind Regards,

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


More information about the Chimera-dev mailing list