
7 Apr
2011
7 Apr
'11
11:07 a.m.
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, --