Author: bugman Date: Fri Aug 14 19:06:31 2009 New Revision: 9322 URL: http://svn.gna.org/viewcvs/relax?rev=9322&view=rev Log: Bug fix for the return_data_name() method recently introduced. This function takes the 'index' keyword argument. 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=9322&r1=9321&r2=9322&view=diff ============================================================================== --- 1.3/specific_fns/n_state_model.py (original) +++ 1.3/specific_fns/n_state_model.py Fri Aug 14 19:06:31 2009 @@ -1741,11 +1741,13 @@ corrsponding to each state. """ - def return_data_name(self, name): + def return_data_name(self, name, index=None): """Return a unique identifying string for the N-state model parameter. @param name: The N-state model parameter. @type name: str + @keyword index: The probability parameter index. + @type index: None or int @return: The unique parameter identifying string. @rtype: str """