Repository: climate Updated Branches: refs/heads/master 574d57762 -> b6db8f8c4
CLIMATE-423 adding 'return result' for unary metric evaludation Project: http://git-wip-us.apache.org/repos/asf/climate/repo Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/2d1b955e Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/2d1b955e Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/2d1b955e Branch: refs/heads/master Commit: 2d1b955e707a9b2be3943d65fa7848fbbd70848a Parents: 574d577 Author: Maziyar Boustani <[email protected]> Authored: Tue May 13 11:11:35 2014 -0700 Committer: Maziyar Boustani <[email protected]> Committed: Tue May 13 11:11:35 2014 -0700 ---------------------------------------------------------------------- ocw/evaluation.py | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/climate/blob/2d1b955e/ocw/evaluation.py ---------------------------------------------------------------------- diff --git a/ocw/evaluation.py b/ocw/evaluation.py index f5c8a01..9f7dfee 100644 --- a/ocw/evaluation.py +++ b/ocw/evaluation.py @@ -297,3 +297,5 @@ class Evaluation(object): for target in self.target_datasets: unary_results[-1].append(metric.run(target)) + return unary_results +
