Author: bugman Date: Tue Jul 29 18:56:31 2008 New Revision: 7021 URL: http://svn.gna.org/viewcvs/relax?rev=7021&view=rev Log: Fix in grid_search() for the checking of the set up of the N-state model. Modified: branches/rdc_analysis/specific_fns/n_state_model.py Modified: branches/rdc_analysis/specific_fns/n_state_model.py URL: http://svn.gna.org/viewcvs/relax/branches/rdc_analysis/specific_fns/n_state_model.py?rev=7021&r1=7020&r2=7021&view=diff ============================================================================== --- branches/rdc_analysis/specific_fns/n_state_model.py (original) +++ branches/rdc_analysis/specific_fns/n_state_model.py Tue Jul 29 18:56:31 2008 @@ -629,7 +629,7 @@ cdp = ds[ds.current_pipe] # Test if the N-state model has been set up. - if not hasattr(cdp, 'N'): + if not hasattr(cdp, 'model'): raise RelaxNoModelError, 'N-state' # The number of parameters.