Author: bugman Date: Mon Nov 26 15:57:52 2007 New Revision: 4029 URL: http://svn.gna.org/viewcvs/relax?rev=4029&view=rev Log: Updated the generic_fns.diffusion_tensor.init() function. The function now adds the DiffTensorData instance as diff_tensor into the PipeContainer. 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=4029&r1=4028&r2=4029&view=diff ============================================================================== --- 1.3/generic_fns/diffusion_tensor.py (original) +++ 1.3/generic_fns/diffusion_tensor.py Mon Nov 26 15:57:52 2007 @@ -539,6 +539,9 @@ valid_types = ['deg', 'rad'] if not angle_units in valid_types: raise RelaxError, "The diffusion tensor 'angle_units' argument " + `angle_units` + " should be either 'deg' or 'rad'." + + # Add the diff_tensor object to the data pipe. + cdp.diff_tensor = DiffTensorData() # Set the fixed flag. cdp.diff_tensor.fixed = fixed