Author: bugman Date: Mon Dec 12 14:39:37 2011 New Revision: 15081 URL: http://svn.gna.org/viewcvs/relax?rev=15081&view=rev Log: The reduced tensors from the frame order analysis are now correctly stored. 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=15081&r1=15080&r2=15081&view=diff ============================================================================== --- branches/frame_order_testing/specific_fns/frame_order.py (original) +++ branches/frame_order_testing/specific_fns/frame_order.py Mon Dec 12 14:39:37 2011 @@ -1002,11 +1002,12 @@ # Loop over the reduced tensors. for i, tensor in self._tensor_loop(red=True): - # New name. - name = tensor.name + ' bc' - - # Initialise the new tensor. - align_tensor.init(tensor=name, params=(target_fn.A_5D_bc[5*i + 0], target_fn.A_5D_bc[5*i + 1], target_fn.A_5D_bc[5*i + 2], target_fn.A_5D_bc[5*i + 3], target_fn.A_5D_bc[5*i + 4]), param_types=2) + # 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] # The RDC data. for i in xrange(len(cdp.align_ids)):