On Sat, Jan 10, 2009 at 4:51 PM, <sebastien.morin.1@xxxxxxxxx> wrote:
Author: semor Date: Sat Jan 10 16:51:19 2009 New Revision: 8358 URL: http://svn.gna.org/viewcvs/relax?rev=8358&view=rev Log: Introduced relaxation dispersion parameters in the function return_data_name(). 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=8358&r1=8357&r2=8358&view=diff ============================================================================== --- branches/relax_disp/specific_fns/relax_disp.py (original) +++ branches/relax_disp/specific_fns/relax_disp.py Sat Jan 10 16:51:19 2009 @@ -1026,43 +1026,57 @@ Relaxation curve fitting data type string matching patterns ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - _______________________________________________________________________________________________ - | | | | - | Data type | Object name | Patterns | - |___________________________________________________|______________|__________________________| - | | | | - | Transversal relaxation rate | 'R2' | '^[Rr]2$' | - | | | | - | Chemical exchange contribution to 'R2' | 'Rex' | '^[Rr]ex$' | - | | | | - | Exchange rate | 'kex' | '^[Kk]ex$' | - | | | | - | Transversal relaxation rate for state A | 'R2A' | '^[Rr]2A$' | - | | | | - | Exchange rate from state A to state B | 'kA' | '^[Kk]A$' | - | | | | - | Chemical shift difference between states A and B | 'dw' | '^[Dd]w$' | - | | | | - | CPMG pulse train frequency (series) | 'cpmg_frqs' | '^[Cc]pmg[ -_][Ff]rqs$' | - |___________________________________________________|______________|__________________________| - - """ - - # Relaxation rate. - if match('^[Rr]x$', name): - return 'rx' + _________________________________________________________________________________________________ + | | | | + | Data type | Object name | Patterns | + |___________________________________________________|________________|__________________________| + | | | | + | Transversal relaxation rate | 'R2' | '^[Rr]2$' | + | | | | + | Chemical exchange contribution to 'R2' | 'Rex' | '^[Rr]ex$' | + | | | | + | Exchange rate | 'kex' | '^[Kk]ex$' | + | | | | + | Transversal relaxation rate for state A | 'R2A' | '^[Rr]2A$' | + | | | | + | Exchange rate from state A to state B | 'kA' | '^[Kk]A$' | + | | | | + | Chemical shift difference between states A and B | 'dw' | '^[Dd]w$' | + | | | | + | Peak intensities (series) | 'intensities' | '^[Ii]nt$ | + | | | | + | CPMG pulse train frequency (series) | 'cpmg_frqs' | '^[Cc]pmg[ -_][Ff]rqs$' | + |___________________________________________________|________________|__________________________|
Sorry, here is one example where the string is in fact the object name! So the second column here should be in lower case, or what ever case the parameter object names are. Regards, Edward