Author: bugman Date: Tue Nov 24 18:03:08 2009 New Revision: 9936 URL: http://svn.gna.org/viewcvs/relax?rev=9936&view=rev Log: Fix for the N-state model model_statistics() API method. 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=9936&r1=9935&r2=9936&view=diff ============================================================================== --- 1.3/specific_fns/n_state_model.py (original) +++ 1.3/specific_fns/n_state_model.py Tue Nov 24 18:03:08 2009 @@ -1691,7 +1691,7 @@ self._q_factors_pcs() - def model_statistics(self, instance=None, spin_id=None, global_stats=None): + def model_statistics(self, model_index=None, spin_id=None, global_stats=None): """Return the k, n, and chi2 model statistics. k - number of parameters. @@ -1699,8 +1699,8 @@ chi2 - the chi-squared value. - @keyword instance: This is the optimisation instance index. This should always be the value of 1 for the N-state model. As it is ignored, this arg can be anything. - @type instance: None or int + @keyword model_index: The model index. This should always be the value of 1 for the N-state model. As it is ignored, this arg can be anything. + @type model_index: None or int @keyword spin_id: The spin identification string. This is ignored in the N-state model. @type spin_id: None or str @keyword global_stats: A parameter which determines if global or local statistics are returned. For the N-state model, this argument is ignored.