mailr27779 - /trunk/data_store/align_tensor.py


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

Header


Content

Posted by edward on March 04, 2015 - 15:32:
Author: bugman
Date: Wed Mar  4 15:32:53 2015
New Revision: 27779

URL: http://svn.gna.org/viewcvs/relax?rev=27779&view=rev
Log:
Deleted the data_store.align_tensor.AlignTensorSimList.append() method.

This replacement list method was proving fatal when copy.deepcopy() is called 
on the alignment
tensor object.  The change allows the Align_tensor.test_copy_pipes_sims 
system test to pass.


Modified:
    trunk/data_store/align_tensor.py

Modified: trunk/data_store/align_tensor.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/data_store/align_tensor.py?rev=27779&r1=27778&r2=27779&view=diff
==============================================================================
--- trunk/data_store/align_tensor.py    (original)
+++ trunk/data_store/align_tensor.py    Wed Mar  4 15:32:53 2015
@@ -1497,9 +1497,3 @@
 
         # Execute the base class method.
         super(AlignTensorSimList, self).__setitem__(sim_index, value)
-
-
-    def append(self, value):
-        """This is a read-only object!"""
-
-        raise RelaxError("The alignment tensor is a read-only object.  The 
alignment tensor set() method must be used instead.")




Related Messages


Powered by MHonArc, Updated Wed Mar 04 15:40:02 2015