Author: tlinnet Date: Tue Aug 12 10:54:50 2014 New Revision: 24989 URL: http://svn.gna.org/viewcvs/relax?rev=24989&view=rev Log: Added a retur from the nesting model, if all fails. sr #3135(https://gna.org/support/?3135): Optimisation of the R1 relaxation rate for the off-resonance R1rho relaxation dispersion models. Modified: branches/R1_fitting/specific_analyses/relax_disp/variables.py Modified: branches/R1_fitting/specific_analyses/relax_disp/variables.py URL: http://svn.gna.org/viewcvs/relax/branches/R1_fitting/specific_analyses/relax_disp/variables.py?rev=24989&r1=24988&r2=24989&view=diff ============================================================================== --- branches/R1_fitting/specific_analyses/relax_disp/variables.py (original) +++ branches/R1_fitting/specific_analyses/relax_disp/variables.py Tue Aug 12 10:54:50 2014 @@ -965,6 +965,9 @@ if compa_model.model in MODEL_LIST_ANALYTIC_CPMG + MODEL_LIST_NUMERIC_CPMG: return model_info, compa_model + # If all fails. + return model_info, None + # If there is no comparable models according to EXP_TYPE, check if some models can be nested anyway. else: # Define list of comparable models, to be all completed models.