Author: bugman Date: Thu Sep 5 10:34:17 2013 New Revision: 20829 URL: http://svn.gna.org/viewcvs/relax?rev=20829&view=rev Log: Updated specific_analyses.relax_disp.parameters.param_num() for the relax_disp.exp_type changes. Modified: branches/relax_disp/specific_analyses/relax_disp/parameters.py Modified: branches/relax_disp/specific_analyses/relax_disp/parameters.py URL: http://svn.gna.org/viewcvs/relax/branches/relax_disp/specific_analyses/relax_disp/parameters.py?rev=20829&r1=20828&r2=20829&view=diff ============================================================================== --- branches/relax_disp/specific_analyses/relax_disp/parameters.py (original) +++ branches/relax_disp/specific_analyses/relax_disp/parameters.py Thu Sep 5 10:34:17 2013 @@ -743,12 +743,12 @@ # The R2eff model. if cdp.model_type == 'R2eff': # Exponential curves (with clustering). - if cdp.exp_type in EXP_TYPE_LIST_VAR_TIME: - return 2 * len(spins) + for id in cdp.exp_type: + if cdp.exp_type[id] in EXP_TYPE_LIST_VAR_TIME: + return 2 * len(spins) # Fixed time period experiments (with clustering). - else: - return 1 * len(spins) + return 1 * len(spins) # Check the spin cluster. for spin in spins: