Hi, It looks like there might still be a few capitalisation issues. Please see below. On Sun, Jan 11, 2009 at 9:29 PM, <sebastien.morin.1@xxxxxxxxx> wrote:
Author: semor Date: Sun Jan 11 21:29:53 2009 New Revision: 8396 URL: http://svn.gna.org/viewcvs/relax?rev=8396&view=rev Log: Changed the object names so they are lower case as they should be, based on the rest of the code. Made the equivalent change in the function assemble_param_vector() to allow the system-test to go further.. This was spotted by Ed in a post at: https://mail.gna.org/public/relax-devel/2009-01/msg00058.html (Message-id: <7f080ed10901111041n65ecd976ie058ed0500d47746@xxxxxxxxxxxxxx>) Modified: branches/relax_disp/specific_fns/relax_disp.py Modified: branches/relax_disp/specific_fns/relax_disp.py URL: http://svn.gna.org/viewcvs/relax/branches/relax_disp/specific_fns/relax_disp.py?rev=8396&r1=8395&r2=8396&view=diff ============================================================================== --- branches/relax_disp/specific_fns/relax_disp.py (original) +++ branches/relax_disp/specific_fns/relax_disp.py Sun Jan 11 21:29:53 2009 @@ -62,7 +62,7 @@ # Loop over the model parameters. for i in xrange(len(spin.params)): # Transversal relaxation rate. - if spin.params[i] == 'R2': + if spin.params[i] == 'r2':
Here this is the parameter string, which is what the user sees. In this situation, it should be in natural case, eg 'R2'. This is the same with everything in spin.params.
if sim_index != None: param_vector.append(spin.r2_sim[sim_index]) elif spin.r2 == None: @@ -71,7 +71,7 @@ param_vector.append(spin.r2) # Chemical exchange contribution to 'R2'. - elif spin.params[i] == 'Rex': + elif spin.params[i] == 'rex': if sim_index != None: param_vector.append(spin.rex_sim[sim_index]) elif spin.rex == None: @@ -89,7 +89,7 @@ param_vector.append(spin.kex) # Transversal relaxation rate for state A. - if spin.params[i] == 'R2A': + if spin.params[i] == 'r2a': if sim_index != None: param_vector.append(spin.r2a_sim[sim_index]) elif spin.r2a == None: @@ -98,7 +98,7 @@ param_vector.append(spin.r2a) # Exchange rate from state A to state B. - if spin.params[i] == 'kA': + if spin.params[i] == 'ka': if sim_index != None: param_vector.append(spin.ka_sim[sim_index]) elif spin.ka == None: @@ -1032,15 +1032,15 @@ | Data type | Object name | Patterns | |___________________________________________________|________________|__________________________| | | | | - | Transversal relaxation rate | 'R2' | '^[Rr]2$' | + | Transversal relaxation rate | 'r2' | '^[Rr]2$' |
Here this is the object name, not the parameter name. So it should be 'r2', which is now correct. Regards, Edward