Author: bugman Date: Tue Jan 15 11:31:12 2008 New Revision: 4724 URL: http://svn.gna.org/viewcvs/relax?rev=4724&view=rev Log: Fixed the check, in minimise(), that the N-state model has been set up. 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=4724&r1=4723&r2=4724&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 11:31:12 2008 @@ -184,7 +184,7 @@ cdp = relax_data_store[relax_data_store.current_pipe] # Test if the N-state model has been set up. - if not hasattr(cdp, 'params'): + if not hasattr(cdp, 'N'): raise RelaxNoModelError, 'N-state' # Create the initial parameter vector.