climate-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject svn commit: r1506796 - /incubator/climate/branches/RefactorInput/ocw/metrics.py
Date Thu, 25 Jul 2013 02:24:43 GMT
Author: joyce
Date: Thu Jul 25 02:24:42 2013
New Revision: 1506796

URL: http://svn.apache.org/r1506796
Log:
CLIMATE-217 - Fix Bias' treatment of Dataset objects

Modified:
    incubator/climate/branches/RefactorInput/ocw/metrics.py

Modified: incubator/climate/branches/RefactorInput/ocw/metrics.py
URL: http://svn.apache.org/viewvc/incubator/climate/branches/RefactorInput/ocw/metrics.py?rev=1506796&r1=1506795&r2=1506796&view=diff
==============================================================================
--- incubator/climate/branches/RefactorInput/ocw/metrics.py (original)
+++ incubator/climate/branches/RefactorInput/ocw/metrics.py Thu Jul 25 02:24:42 2013
@@ -67,4 +67,4 @@ class Bias(Metric):
                 dataset and the target dataset.
         :rtype: List
         '''
-        return [datasets[0] - datasets[1]]
+        return [datasets[0].values - datasets[1].values]



Mime
View raw message