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: _______________________________________________ relax (http://nmr-relax.com) This is the relax-commits mailing list relax-commits@gna.org 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