mailr19443 - /trunk/pipe_control/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 April 11, 2013 - 09:30:
Author: bugman
Date: Thu Apr 11 09:30:16 2013
New Revision: 19443

URL: http://svn.gna.org/viewcvs/relax?rev=19443&view=rev
Log:
Bug fix for the new pipe_control.mol_res_spin.count_max_spins_per_residue() 
function.

This function, introduced at r19403, was not returning the correct variable.


Modified:
    trunk/pipe_control/mol_res_spin.py

Modified: trunk/pipe_control/mol_res_spin.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/pipe_control/mol_res_spin.py?rev=19443&r1=19442&r2=19443&view=diff
==============================================================================
--- trunk/pipe_control/mol_res_spin.py (original)
+++ trunk/pipe_control/mol_res_spin.py Thu Apr 11 09:30:16 2013
@@ -465,7 +465,7 @@
             max_num = max(max_num, spin_num)
 
     # Return the maximum number of spins.
-    return spin_num
+    return max_num
 
 
 def count_molecules(selection=None, pipe=None):




Related Messages


Powered by MHonArc, Updated Thu Apr 11 09:40:01 2013