mailr4957 - /branches/N_state_model/prompt/n_state_model.py


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

Header


Content

Posted by edward on February 12, 2008 - 14:49:
Author: bugman
Date: Tue Feb 12 14:49:12 2008
New Revision: 4957

URL: http://svn.gna.org/viewcvs/relax?rev=4957&view=rev
Log:
Bug fix for the n_state_model.pivot_point() user function.

The 'lower' variable should have been changed to 'pivot'.


Modified:
    branches/N_state_model/prompt/n_state_model.py

Modified: branches/N_state_model/prompt/n_state_model.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/N_state_model/prompt/n_state_model.py?rev=4957&r1=4956&r2=4957&view=diff
==============================================================================
--- branches/N_state_model/prompt/n_state_model.py (original)
+++ branches/N_state_model/prompt/n_state_model.py Tue Feb 12 14:49:12 2008
@@ -127,9 +127,9 @@
             raise RelaxListError, ('pivot', pivot)
         if len(pivot) != 3:
             raise RelaxLenError, ("pivot point", 3)
-        for i in xrange(len(lower)):
-            if type(lower[i]) != int and type(lower[i]) != float:
-                raise RelaxListNumError, ('lower bounds', lower)
+        for i in xrange(len(pivot)):
+            if type(pivot[i]) != int and type(pivot[i]) != float:
+                raise RelaxListNumError, ('pivot point', pivot)
 
         # Execute the functional code.
         n_state_model_obj.pivot_point(pivot=pivot)




Related Messages


Powered by MHonArc, Updated Tue Feb 12 15:00:50 2008