[Scipy-svn] r2829 - trunk/Lib/sandbox/timeseries

scipy-svn at scipy.org scipy-svn at scipy.org
Tue Mar 6 16:09:37 EST 2007


Author: mattknox_ca
Date: 2007-03-06 15:09:33 -0600 (Tue, 06 Mar 2007)
New Revision: 2829

Modified:
   trunk/Lib/sandbox/timeseries/reportlib.py
Log:
fixed problem with reporting multi dimensional series

Modified: trunk/Lib/sandbox/timeseries/reportlib.py
===================================================================
--- trunk/Lib/sandbox/timeseries/reportlib.py	2007-03-06 21:02:54 UTC (rev 2828)
+++ trunk/Lib/sandbox/timeseries/reportlib.py	2007-03-06 21:09:33 UTC (rev 2829)
@@ -83,7 +83,7 @@
     def __call__ (self, item):
         "Execute the call behavior."
 
-        if hasattr(item, "_mask") and item._mask:
+        if hasattr(item, "_mask") and isinstance(item._mask, bool) and item._mask:
             return self.mr
         else:
             return self.f(item)




More information about the Scipy-svn mailing list