Author: bugman Date: Fri May 3 10:30:24 2013 New Revision: 19621 URL: http://svn.gna.org/viewcvs/relax?rev=19621&view=rev Log: Fix for some RelaxError printouts in the relaxation dispersion specific code. Modified: branches/relax_disp/specific_analyses/relax_disp.py Modified: branches/relax_disp/specific_analyses/relax_disp.py URL: http://svn.gna.org/viewcvs/relax/branches/relax_disp/specific_analyses/relax_disp.py?rev=19621&r1=19620&r2=19621&view=diff ============================================================================== --- branches/relax_disp/specific_analyses/relax_disp.py (original) +++ branches/relax_disp/specific_analyses/relax_disp.py Fri May 3 10:30:24 2013 @@ -623,7 +623,7 @@ elif cdp.exp_type in ['r1rho']: fields = unique_elements(cdp.spin_lock_nu1.values()) else: - raise RelaxError("The experiment type '%s' is unknown.") + raise RelaxError("The experiment type '%s' is unknown." % cdp.exp_type) fields.sort() # Yield each unique field strength or frequency. @@ -717,7 +717,7 @@ # Sanity check. if exp_type not in FIXED_TIME_EXP and exp_type not in VAR_TIME_EXP: - raise RelaxError("The experiment type '%s' is neither a fixed relaxation time period or variable relaxation time period experiment.") + raise RelaxError("The experiment type '%s' is neither a fixed relaxation time period or variable relaxation time period experiment." % exp_type) def _grid_search_setup(self, spins=None, param_vector=None, lower=None, upper=None, inc=None, scaling_matrix=None):