Author: bugman Date: Mon Oct 8 11:37:18 2012 New Revision: 17740 URL: http://svn.gna.org/viewcvs/relax?rev=17740&view=rev Log: Fix for the initialisation of the diffusion tensor data structure, now that it is read-only. Modified: branches/tensor_data/data/diff_tensor.py Modified: branches/tensor_data/data/diff_tensor.py URL: http://svn.gna.org/viewcvs/relax/branches/tensor_data/data/diff_tensor.py?rev=17740&r1=17739&r2=17740&view=diff ============================================================================== --- branches/tensor_data/data/diff_tensor.py (original) +++ branches/tensor_data/data/diff_tensor.py Mon Oct 8 11:37:18 2012 @@ -631,7 +631,7 @@ """Initialise a few instance variables.""" # Set the initial diffusion type to None. - self.type = None + self.__dict__['type'] = None # Initialise the spheroid type flag. self.__dict__['__spheroid_type'] = False