mailr17852 - /branches/frame_order_testing/generic_fns/align_tensor.py


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

Header


Content

Posted by edward on October 16, 2012 - 11:50:
Author: bugman
Date: Tue Oct 16 11:50:12 2012
New Revision: 17852

URL: http://svn.gna.org/viewcvs/relax?rev=17852&view=rev
Log:
Fix for the align_tensor.init user function.

This change is needed as the tensor object is now completely read-only.


Modified:
    branches/frame_order_testing/generic_fns/align_tensor.py

Modified: branches/frame_order_testing/generic_fns/align_tensor.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/frame_order_testing/generic_fns/align_tensor.py?rev=17852&r1=17851&r2=17852&view=diff
==============================================================================
--- branches/frame_order_testing/generic_fns/align_tensor.py (original)
+++ branches/frame_order_testing/generic_fns/align_tensor.py Tue Oct 16 
11:50:12 2012
@@ -947,7 +947,7 @@
     if domain:
         set_domain(tensor=tensor, domain=domain)
     if align_id:
-        tensor_obj.align_id = align_id
+        tensor_obj.set(param='align_id', value=align_id)
 
 
 def map_bounds(param):




Related Messages


Powered by MHonArc, Updated Tue Oct 16 13:40:01 2012