mailRe: r22341 - /trunk/specific_analyses/relax_disp/disp_data.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Edward d'Auvergne on February 26, 2014 - 16:26:
Ah, that looks like a rather stupid mistake in the code ;)  Cheers!

Edward



On 26 February 2014 16:21,  <tlinnet@xxxxxxxxxxxxx> wrote:
Author: tlinnet
Date: Wed Feb 26 16:21:10 2014
New Revision: 22341

URL: http://svn.gna.org/viewcvs/relax?rev=22341&view=rev
Log:
Fix for the loop_time function to include point filtering for R1rho 
experiments.

Regarding bug #21344, (https://gna.org/bugs/index.php?21344) - Handling of 
in sparse acquired R1rho dataset with missing combinations of time and 
spin-lock field strengths.

Modified:
    trunk/specific_analyses/relax_disp/disp_data.py

Modified: trunk/specific_analyses/relax_disp/disp_data.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/specific_analyses/relax_disp/disp_data.py?rev=22341&r1=22340&r2=22341&view=diff
==============================================================================
--- trunk/specific_analyses/relax_disp/disp_data.py (original)
+++ trunk/specific_analyses/relax_disp/disp_data.py Wed Feb 26 16:21:10 2014
@@ -1354,7 +1354,12 @@
                     # The CPMG dispersion data.
                     if exp_type in EXP_TYPE_LIST_CPMG:
                         # No dispersion point data set.
-                        if not hasattr(cdp, 'cpmg_frqs') or id not in 
cdp.cpmg_frqs:
+                        if hasattr(cdp, 'cpmg_frqs') and cdp.cpmg_frqs[id] 
!= point:
+                            continue
+
+                    # The R1rho data
+                    if exp_type in EXP_TYPE_R1RHO:
+                        if hasattr(cdp, 'spin_lock_nu1') and 
cdp.spin_lock_nu1[id] != point:
                             continue

                 if time != cdp.relax_times[id]:


_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-commits mailing list
relax-commits@xxxxxxx

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits



Related Messages


Powered by MHonArc, Updated Wed Feb 26 18:20:12 2014