Author: bugman Date: Mon Feb 11 16:39:23 2008 New Revision: 4950 URL: http://svn.gna.org/viewcvs/relax?rev=4950&view=rev Log: The 'full_in_ref_frame' is now correctly created. Modified: branches/N_state_model/specific_fns/n_state_model.py Modified: branches/N_state_model/specific_fns/n_state_model.py URL: http://svn.gna.org/viewcvs/relax/branches/N_state_model/specific_fns/n_state_model.py?rev=4950&r1=4949&r2=4950&view=diff ============================================================================== --- branches/N_state_model/specific_fns/n_state_model.py (original) +++ branches/N_state_model/specific_fns/n_state_model.py Mon Feb 11 16:39:23 2008 @@ -383,15 +383,15 @@ # Loop over all tensors. for tensor in cdp.align_tensors: - # The full tensor corresponds to the frame of reference. - if cdp.ref_domain == tensor.domain: - full_in_ref_frame.append(1) - else: - full_in_ref_frame.append(0) - - # Create a list of matricies consisting of all the full alignment tensors. + # The full tensor. if not tensor.red: - # Append the tensor (in matrix form). + # The full tensor corresponds to the frame of reference. + if cdp.ref_domain == tensor.domain: + full_in_ref_frame.append(1) + else: + full_in_ref_frame.append(0) + + # Create a list of matricies consisting of all the full alignment tensors. full_tensors.append(tensor.tensor) # Create a list of all the reduced alignment tensor elements and their errors (for the chi-squared function).