mailr6636 - /1.3/generic_fns/mol_res_spin.py


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

Header


Content

Posted by edward on July 03, 2008 - 22:46:
Author: bugman
Date: Thu Jul  3 22:46:34 2008
New Revision: 6636

URL: http://svn.gna.org/viewcvs/relax?rev=6636&view=rev
Log:
Fix for the convert_from_global_index() method.

An uninitialised variable is now set to 0.


Modified:
    1.3/generic_fns/mol_res_spin.py

Modified: 1.3/generic_fns/mol_res_spin.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/mol_res_spin.py?rev=6636&r1=6635&r2=6636&view=diff
==============================================================================
--- 1.3/generic_fns/mol_res_spin.py (original)
+++ 1.3/generic_fns/mol_res_spin.py Thu Jul  3 22:46:34 2008
@@ -858,6 +858,7 @@
     pipes.test(pipe)
 
     # Loop over the spins.
+    spin_num = 0
     for mol_index, res_index, spin_index in spin_index_loop(pipe=pipe):
         # Match to the global index.
         if spin_num == global_index:




Related Messages


Powered by MHonArc, Updated Thu Jul 03 23:20:15 2008