You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@climate.apache.org by go...@apache.org on 2016/07/29 15:21:08 UTC

[03/10] climate git commit: Minor fixes to dataset_loader

Minor fixes to dataset_loader


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

Branch: refs/heads/master
Commit: bf5b6eba6251c54317693cc1df2a05e3e8401dfb
Parents: a3764c0
Author: Alex Goodman <ag...@users.noreply.github.com>
Authored: Tue Jul 19 13:38:14 2016 -0700
Committer: Alex Goodman <ag...@users.noreply.github.com>
Committed: Tue Jul 19 13:38:14 2016 -0700

----------------------------------------------------------------------
 ocw/dataset_loader.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/climate/blob/bf5b6eba/ocw/dataset_loader.py
----------------------------------------------------------------------
diff --git a/ocw/dataset_loader.py b/ocw/dataset_loader.py
index 719cb9b..d81f869 100644
--- a/ocw/dataset_loader.py
+++ b/ocw/dataset_loader.py
@@ -192,9 +192,9 @@ class DatasetLoader:
                 else:
                     self.target_datasets.append(output)
 
-    def _load(**kwargs):
+    def _load(self, **kwargs):
         '''
-        Generic dataset loading method
+        Generic dataset loading method.
         '''
         # Extract the data source
         data_source = kwargs.pop('data_source')