mailr3943 - /1.3/generic_fns/diffusion_tensor.py


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

Header


Content

Posted by edward on November 25, 2007 - 19:30:
Author: bugman
Date: Sun Nov 25 19:30:17 2007
New Revision: 3943

URL: http://svn.gna.org/viewcvs/relax?rev=3943&view=rev
Log:
Bug fix for the generic_fns.diffusion_tensor.init() function.

The new data structure is taken into account.


Modified:
    1.3/generic_fns/diffusion_tensor.py

Modified: 1.3/generic_fns/diffusion_tensor.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/diffusion_tensor.py?rev=3943&r1=3942&r2=3943&view=diff
==============================================================================
--- 1.3/generic_fns/diffusion_tensor.py (original)
+++ 1.3/generic_fns/diffusion_tensor.py Sun Nov 25 19:30:17 2007
@@ -486,11 +486,8 @@
     if not angle_units in valid_types:
         raise RelaxError, "The diffusion tensor 'angle_units' argument " + 
`angle_units` + " should be either 'deg' or 'rad'."
 
-    # Create the diffusion tensor data structure.
-    cdp.diff.add_item()
-
     # Set the fixed flag.
-    cdp.diff.fixed = fixed
+    cdp.diff_tensor.fixed = fixed
 
     # Spherical diffusion.
     if type(params) == float:




Related Messages


Powered by MHonArc, Updated Sun Nov 25 19:40:08 2007