mailr5438 - /1.3/generic_fns/structure/main.py


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

Header


Content

Posted by edward on April 08, 2008 - 15:41:
Author: bugman
Date: Tue Apr  8 15:41:43 2008
New Revision: 5438

URL: http://svn.gna.org/viewcvs/relax?rev=5438&view=rev
Log:
Bug fix in the load_spins() function.

Renamed incorrectly named variables.


Modified:
    1.3/generic_fns/structure/main.py

Modified: 1.3/generic_fns/structure/main.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/structure/main.py?rev=5438&r1=5437&r2=5438&view=diff
==============================================================================
--- 1.3/generic_fns/structure/main.py (original)
+++ 1.3/generic_fns/structure/main.py Tue Apr  8 15:41:43 2008
@@ -53,7 +53,7 @@
     cdp = relax_data_store[relax_data_store.current_pipe]
 
     # Loop over all atoms of the spin_id selection.
-    for mol_name, res_num, res_name, atom_num, atom_name, pos in 
cdp.structure.atom_loop(atom_id=spin_id, pos=True):
+    for mol_name, res_num, res_name, spin_num, spin_name, pos in 
cdp.structure.atom_loop(atom_id=spin_id, pos=True):
         # Get the molecule container corresponding to the molecule name.
         if mol_name:
             mol_cont = return_molecule('#' + mol_name)




Related Messages


Powered by MHonArc, Updated Tue Apr 08 16:00:19 2008