mailr6770 - /1.3/specific_fns/model_free/main.py


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

Header


Content

Posted by edward on July 05, 2008 - 23:25:
Author: bugman
Date: Sat Jul  5 23:25:39 2008
New Revision: 6770

URL: http://svn.gna.org/viewcvs/relax?rev=6770&view=rev
Log:
Another fix for the duplicate_data() method.

The diffusion tensor object was being copied from the source pipe back to the 
source pipe!


Modified:
    1.3/specific_fns/model_free/main.py

Modified: 1.3/specific_fns/model_free/main.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/specific_fns/model_free/main.py?rev=6770&r1=6769&r2=6770&view=diff
==============================================================================
--- 1.3/specific_fns/model_free/main.py (original)
+++ 1.3/specific_fns/model_free/main.py Sat Jul  5 23:25:39 2008
@@ -1003,7 +1003,7 @@
         if hasattr(ds[pipe_from], 'diff_tensor'):
             # Duplicate the tensor if it doesn't exist.
             if not hasattr(ds[pipe_to], 'diff_tensor'):
-                setattr(ds[pipe_from], 'diff_tensor', 
deepcopy(ds[pipe_from].diff_tensor))
+                setattr(ds[pipe_to], 'diff_tensor', 
deepcopy(ds[pipe_from].diff_tensor))
 
             # Otherwise compare the objects inside the container.
             else:




Related Messages


Powered by MHonArc, Updated Sat Jul 05 23:40:11 2008