Author: bugman Date: Mon Oct 8 19:30:25 2012 New Revision: 17765 URL: http://svn.gna.org/viewcvs/relax?rev=17765&view=rev Log: Fix for the setting of the diffusion tensor parameter errors in the model-free specific analysis code. Modified: branches/tensor_data/specific_fns/model_free/main.py Modified: branches/tensor_data/specific_fns/model_free/main.py URL: http://svn.gna.org/viewcvs/relax/branches/tensor_data/specific_fns/model_free/main.py?rev=17765&r1=17764&r2=17765&view=diff ============================================================================== --- branches/tensor_data/specific_fns/model_free/main.py (original) +++ branches/tensor_data/specific_fns/model_free/main.py Mon Oct 8 19:30:25 2012 @@ -2085,7 +2085,7 @@ if cdp.diff_tensor.type == 'sphere': # Return the parameter array. if index == 0: - cdp.diff_tensor.tm_err = error + cdp.diff_tensor.set(param='tm', value=error, category='err') # Increment. inc = inc + 1 @@ -2094,13 +2094,13 @@ elif cdp.diff_tensor.type == 'spheroid': # Return the parameter array. if index == 0: - cdp.diff_tensor.tm_err = error + cdp.diff_tensor.set(param='tm', value=error, category='err') elif index == 1: - cdp.diff_tensor.Da_err = error + cdp.diff_tensor.set(param='Da', value=error, category='err') elif index == 2: - cdp.diff_tensor.theta_err = error + cdp.diff_tensor.set(param='theta', value=error, category='err') elif index == 3: - cdp.diff_tensor.phi_err = error + cdp.diff_tensor.set(param='phi', value=error, category='err') # Increment. inc = inc + 4 @@ -2109,17 +2109,17 @@ elif cdp.diff_tensor.type == 'ellipsoid': # Return the parameter array. if index == 0: - cdp.diff_tensor.tm_err = error + cdp.diff_tensor.set(param='tm', value=error, category='err') elif index == 1: - cdp.diff_tensor.Da_err = error + cdp.diff_tensor.set(param='Da', value=error, category='err') elif index == 2: - cdp.diff_tensor.Dr_err = error + cdp.diff_tensor.set(param='Dr', value=error, category='err') elif index == 3: - cdp.diff_tensor.alpha_err = error + cdp.diff_tensor.set(param='alpha', value=error, category='err') elif index == 4: - cdp.diff_tensor.beta_err = error + cdp.diff_tensor.set(param='beta', value=error, category='err') elif index == 5: - cdp.diff_tensor.gamma_err = error + cdp.diff_tensor.set(param='gamma', value=error, category='err') # Increment. inc = inc + 6