Author: bugman Date: Tue Oct 16 13:28:46 2012 New Revision: 17854 URL: http://svn.gna.org/viewcvs/relax?rev=17854&view=rev Log: Fix for the now read-only tensor objects - the set() method is now used to store the parameter values. Modified: branches/frame_order_testing/specific_fns/frame_order.py Modified: branches/frame_order_testing/specific_fns/frame_order.py URL: http://svn.gna.org/viewcvs/relax/branches/frame_order_testing/specific_fns/frame_order.py?rev=17854&r1=17853&r2=17854&view=diff ============================================================================== --- branches/frame_order_testing/specific_fns/frame_order.py (original) +++ branches/frame_order_testing/specific_fns/frame_order.py Tue Oct 16 13:28:46 2012 @@ -1159,11 +1159,11 @@ # Loop over the reduced tensors. for i, tensor in self._tensor_loop(red=True): # Store the values. - tensor.Axx = target_fn.A_5D_bc[5*i + 0] - tensor.Ayy = target_fn.A_5D_bc[5*i + 1] - tensor.Axy = target_fn.A_5D_bc[5*i + 2] - tensor.Axz = target_fn.A_5D_bc[5*i + 3] - tensor.Ayz = target_fn.A_5D_bc[5*i + 4] + tensor.set(param='Axx', value=target_fn.A_5D_bc[5*i + 0]) + tensor.set(param='Ayy', value=target_fn.A_5D_bc[5*i + 1]) + tensor.set(param='Axy', value=target_fn.A_5D_bc[5*i + 2]) + tensor.set(param='Axz', value=target_fn.A_5D_bc[5*i + 3]) + tensor.set(param='Ayz', value=target_fn.A_5D_bc[5*i + 4]) # The RDC data. for i in range(len(cdp.align_ids)):