Author: tlinnet Date: Wed May 7 17:47:20 2014 New Revision: 23063 URL: http://svn.gna.org/viewcvs/relax?rev=23063&view=rev Log: Fix for catastrophic parameter index error for model B14. The model B14 would get the same parameter index as "B14 full", and would hence optimise wrong parameters. sr #3154: (https://gna.org/support/?3154) Implementation of Baldwin (2014) B14 model - 2-site exact solution model for all time scales. This follows the tutorial for adding relaxation dispersion models at: http://wiki.nmr-relax.com/Tutorial_for_adding_relaxation_dispersion_models_to_relax#Debugging Modified: trunk/target_functions/relax_disp.py Modified: trunk/target_functions/relax_disp.py URL: http://svn.gna.org/viewcvs/relax/trunk/target_functions/relax_disp.py?rev=23063&r1=23062&r2=23063&view=diff ============================================================================== --- trunk/target_functions/relax_disp.py (original) +++ trunk/target_functions/relax_disp.py Wed May 7 17:47:20 2014 @@ -229,7 +229,7 @@ # The spin and frequency dependent R2 parameters. self.end_index.append(self.num_exp * self.num_spins * self.num_frq) - if model in [MODEL_B14, MODEL_B14_FULL, MODEL_CR72_FULL, MODEL_NS_CPMG_2SITE_3D_FULL, MODEL_NS_CPMG_2SITE_STAR_FULL]: + if model in [MODEL_B14_FULL, MODEL_CR72_FULL, MODEL_NS_CPMG_2SITE_3D_FULL, MODEL_NS_CPMG_2SITE_STAR_FULL]: self.end_index.append(2 * self.num_exp * self.num_spins * self.num_frq) # The spin and dependent parameters (phi_ex, dw, padw2).