mailr17677 - /trunk/specific_fns/frame_order.py


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

Header


Content

Posted by edward on October 02, 2012 - 16:35:
Author: bugman
Date: Tue Oct  2 16:35:26 2012
New Revision: 17677

URL: http://svn.gna.org/viewcvs/relax?rev=17677&view=rev
Log:
Python 3 integer division to float fix for the frame order analysis.


Modified:
    trunk/specific_fns/frame_order.py

Modified: trunk/specific_fns/frame_order.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/specific_fns/frame_order.py?rev=17677&r1=17676&r2=17677&view=diff
==============================================================================
--- trunk/specific_fns/frame_order.py (original)
+++ trunk/specific_fns/frame_order.py Tue Oct  2 16:35:26 2012
@@ -1017,7 +1017,7 @@
             if cdp.params[i] in ['ave_pos_beta', 'eigen_beta', 'axis_theta']:
                 # Change the default increment numbers.
                 if not isinstance(inc, list):
-                    incs[i] = incs[i] / 2 + 1
+                    incs[i] = int(incs[i] / 2) + 1
 
                 # The distribution type and end point.
                 dist_type = 'acos'




Related Messages


Powered by MHonArc, Updated Tue Oct 02 17:00:01 2012