Author: bugman Date: Sun Oct 27 19:34:08 2013 New Revision: 21264 URL: http://svn.gna.org/viewcvs/relax?rev=21264&view=rev Log: Fixes for the output of the selected mode in the dispersion auto-analysis. The correct variable is now used. Modified: branches/relax_disp/auto_analyses/relax_disp.py branches/relax_disp/specific_analyses/relax_disp/api.py Modified: branches/relax_disp/auto_analyses/relax_disp.py URL: http://svn.gna.org/viewcvs/relax/branches/relax_disp/auto_analyses/relax_disp.py?rev=21264&r1=21263&r2=21264&view=diff ============================================================================== --- branches/relax_disp/auto_analyses/relax_disp.py (original) +++ branches/relax_disp/auto_analyses/relax_disp.py Sun Oct 27 19:34:08 2013 @@ -421,7 +421,7 @@ # The selected models for the final run. if model == None: - self.interpreter.value.write(param='model_type', file='model_type.out', dir=path, force=True) + self.interpreter.value.write(param='model', file='model.out', dir=path, force=True) # The R2eff parameter. if model == 'R2eff': Modified: branches/relax_disp/specific_analyses/relax_disp/api.py URL: http://svn.gna.org/viewcvs/relax/branches/relax_disp/specific_analyses/relax_disp/api.py?rev=21264&r1=21263&r2=21264&view=diff ============================================================================== --- branches/relax_disp/specific_analyses/relax_disp/api.py (original) +++ branches/relax_disp/specific_analyses/relax_disp/api.py Sun Oct 27 19:34:08 2013 @@ -98,7 +98,7 @@ self.PARAMS.add('k_AB', scope='spin', default=10000.0, desc='The exchange rate from state A to state B', set='params', py_type=float, grace_string='\\qk\\sAB\\N\\Q (rad.s\\S-1\\N)', err=True, sim=True) self.PARAMS.add('k_BA', scope='spin', default=10000.0, desc='The exchange rate from state B to state A', set='params', py_type=float, grace_string='\\qk\\sBA\\N\\Q (rad.s\\S-1\\N)', err=True, sim=True) self.PARAMS.add('params', scope='spin', desc='The model parameters', py_type=list) - self.PARAMS.add('model_type', scope='spin', desc='The dispersion model', py_type=str) + self.PARAMS.add('model', scope='spin', desc='The dispersion model', py_type=str) # Add the minimisation data. self.PARAMS.add_min_data(min_stats_global=False, min_stats_spin=True)