You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@climate.apache.org by jo...@apache.org on 2014/04/05 07:05:28 UTC

[08/16] git commit: CLIMATE-380 - Fix bad ref_dataset reference

CLIMATE-380 - Fix bad ref_dataset reference


Project: http://git-wip-us.apache.org/repos/asf/climate/repo
Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/35e8db1b
Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/35e8db1b
Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/35e8db1b

Branch: refs/heads/master
Commit: 35e8db1b6fc6f1aaf4151fc3b9d1dc1683871ab9
Parents: 0e65170
Author: Michael Joyce <jo...@apache.org>
Authored: Fri Apr 4 21:10:43 2014 -0700
Committer: Michael Joyce <jo...@apache.org>
Committed: Fri Apr 4 21:10:43 2014 -0700

----------------------------------------------------------------------
 ocw/evaluation.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/climate/blob/35e8db1b/ocw/evaluation.py
----------------------------------------------------------------------
diff --git a/ocw/evaluation.py b/ocw/evaluation.py
index 6da3a36..f5c8a01 100644
--- a/ocw/evaluation.py
+++ b/ocw/evaluation.py
@@ -293,7 +293,7 @@ class Evaluation(object):
             unary_results.append([])
             # Unary metrics should be run over the reference Dataset also
             if self.ref_dataset:
-                unary_results[-1].append(metric.run(ref_dataset))
+                unary_results[-1].append(metric.run(self.ref_dataset))
 
             for target in self.target_datasets:
                 unary_results[-1].append(metric.run(target))