mailr26656 - /trunk/pipe_control/align_tensor.py


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

Header


Content

Posted by edward on November 20, 2014 - 14:40:
Author: bugman
Date: Thu Nov 20 14:40:42 2014
New Revision: 26656

URL: http://svn.gna.org/viewcvs/relax?rev=26656&view=rev
Log:
Python 2.5 fix for the align_tensor.display user function.

The new irreducible spherical tensor coefficient printout was failing as the 
float.real variable was
introduced from Python 2.6 onwards.


Modified:
    trunk/pipe_control/align_tensor.py

Modified: trunk/pipe_control/align_tensor.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/pipe_control/align_tensor.py?rev=26656&r1=26655&r2=26656&view=diff
==============================================================================
--- trunk/pipe_control/align_tensor.py  (original)
+++ trunk/pipe_control/align_tensor.py  Thu Nov 20 14:40:42 2014
@@ -347,7 +347,7 @@
         # The parameters.
         print("A-2 =  %25.12e %25.12ei" % (data.Am2.real, data.Am2.imag))
         print("A-1 =  %25.12e %25.12ei" % (data.Am1.real, data.Am1.imag))
-        print("A0  =  %25.12e" % data.A0.real)
+        print("A0  =  %25.12e" % data.A0)
         print("A1  =  %25.12e %25.12ei" % (data.A1.real, data.A1.imag))
         print("A2  =  %25.12e %25.12ei" % (data.A2.real, data.A2.imag))
 




Related Messages


Powered by MHonArc, Updated Thu Nov 20 15:00:02 2014