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))
 


_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-commits mailing list
[email protected]

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits

Reply via email to