mailr5517 - /1.3/generic_fns/structure/mass.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on April 10, 2008 - 11:07:
Author: bugman
Date: Thu Apr 10 11:07:06 2008
New Revision: 5517

URL: http://svn.gna.org/viewcvs/relax?rev=5517&view=rev
Log:
Updated the call to the atom_loop() method in the centre_of_mass() function.


Modified:
    1.3/generic_fns/structure/mass.py

Modified: 1.3/generic_fns/structure/mass.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/structure/mass.py?rev=5517&r1=5516&r2=5517&view=diff
==============================================================================
--- 1.3/generic_fns/structure/mass.py (original)
+++ 1.3/generic_fns/structure/mass.py Thu Apr 10 11:07:06 2008
@@ -59,7 +59,7 @@
     M = 0.0
 
     # Loop over all atoms.
-    for mol_name, res_num, res_name, atom_num, atom_name, pos in 
cdp.structure.atom_loop(pos=True):
+    for mol_name, res_num, res_name, atom_num, atom_name, element, pos in 
cdp.structure.atom_loop():
         # Get the corresponding molecule container.
         if mol_name == None:
             mol_cont = cdp.mol[0]




Related Messages


Powered by MHonArc, Updated Thu Apr 10 11:20:09 2008