Author: bugman Date: Mon Jan 21 15:12:36 2008 New Revision: 4871 URL: http://svn.gna.org/viewcvs/relax?rev=4871&view=rev Log: Bug fix for the 'betac' parameter in the return_data_name() method. There are less characters in 'beta' than 'alpha'! 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=4871&r1=4870&r2=4871&view=diff ============================================================================== --- branches/N_state_model/specific_fns/n_state_model.py (original) +++ branches/N_state_model/specific_fns/n_state_model.py Mon Jan 21 15:12:36 2008 @@ -565,7 +565,7 @@ if search('^beta', name): # Get the state index, otherwise return with nothing if there is an error (parameter unknown). try: - i = int(name[5:]) + i = int(name[4:]) except ValueError: return