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.")
_______________________________________________
relax (http://www.nmr-relax.com)
This is the relax-commits mailing list
[email protected]
To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits