Author: bugman Date: Tue Jan 15 13:37:02 2008 New Revision: 4736 URL: http://svn.gna.org/viewcvs/relax?rev=4736&view=rev Log: Started to rename the structure cdp.align_tensor to cdp.align_tensors (as it contains many tensors). 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=4736&r1=4735&r2=4736&view=diff ============================================================================== --- branches/N_state_model/specific_fns/n_state_model.py (original) +++ branches/N_state_model/specific_fns/n_state_model.py Tue Jan 15 13:37:02 2008 @@ -193,7 +193,7 @@ # Create a list of all the reduced alignment tensor elements (for the chi-squared function). red_tensor_elem = [] - for tensor in cdp.align_tensor: + for tensor in cdp.align_tensors: # Ignore the full tensors. if not tensor.red: continue @@ -305,7 +305,7 @@ # Loop over the tensors. match = False - for tensor_cont in cdp.align_tensor: + for tensor_cont in cdp.align_tensors: # Find the matching tensor and then store the domain label. if tensor_cont.name == tensor: tensor_cont.domain = domain @@ -330,7 +330,7 @@ # Loop over the tensors. match = False - for tensor_cont in cdp.align_tensor: + for tensor_cont in cdp.align_tensors: # Find the matching tensor and then store the tensor type. if tensor_cont.name == tensor: tensor_cont.red = red