mailr17740 - /branches/tensor_data/data/diff_tensor.py


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

Header


Content

Posted by edward on October 08, 2012 - 11:37:
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




Related Messages


Powered by MHonArc, Updated Mon Oct 08 11:40:02 2012