Author: bugman Date: Wed Oct 12 14:46:14 2011 New Revision: 14835 URL: http://svn.gna.org/viewcvs/relax?rev=14835&view=rev Log: Fix for the N-state model _minimise_bc_data() method for when no alignments are present. This fixes a recently introduced problem. Modified: 1.3/specific_fns/n_state_model.py Modified: 1.3/specific_fns/n_state_model.py URL: http://svn.gna.org/viewcvs/relax/1.3/specific_fns/n_state_model.py?rev=14835&r1=14834&r2=14835&view=diff ============================================================================== --- 1.3/specific_fns/n_state_model.py (original) +++ 1.3/specific_fns/n_state_model.py Wed Oct 12 14:46:14 2011 @@ -753,6 +753,10 @@ @param model: The instantiated class containing the target function. @type model: class instance """ + + # No alignment tensors, so nothing to do. + if not hasattr(cdp, 'align_tensors'): + return # Loop over each alignment. align_index = 0