mailr22835 - /trunk/pipe_control/spectrum.py


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

Header


Content

Posted by tlinnet on April 23, 2014 - 10:37:
Author: tlinnet
Date: Wed Apr 23 10:37:58 2014
New Revision: 22835

URL: http://svn.gna.org/viewcvs/relax?rev=22835&view=rev
Log:
Fix for bug. The variances used to calculated std, should only be taken from 
those which are defined in the subset.

Regarding bug #21954, (https://gna.org/bugs/index.php?21954) - Order of 
spectrum.error_analysis is important.

Modified:
    trunk/pipe_control/spectrum.py

Modified: trunk/pipe_control/spectrum.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/pipe_control/spectrum.py?rev=22835&r1=22834&r2=22835&view=diff
==============================================================================
--- trunk/pipe_control/spectrum.py      (original)
+++ trunk/pipe_control/spectrum.py      Wed Apr 23 10:37:58 2014
@@ -183,6 +183,10 @@
 
         # Loop over all time points.
         for id in cdp.var_I.keys():
+            # Only use id's defined in subset
+            if id not in subset:
+                continue
+
             # Single spectrum (or extraordinarily accurate NMR spectra!).
             if cdp.var_I[id] == 0.0:
                 continue




Related Messages


Powered by MHonArc, Updated Wed Apr 23 13:20:03 2014