Skip to content

Commit

Permalink
BUGFIX: _first_init usage should call super.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmilloy committed Sep 27, 2019
1 parent 9d42621 commit c02dc03
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion podpac/core/algorithm/signal.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def _first_init(self, kernel=None, kernel_type=None, kernel_ndim=None, **kwargs)
kernel = self._make_kernel(kernel_type, kernel_ndim)

kwargs["kernel"] = kernel
return kwargs
return super(Convolution, self)._first_init(**kwargs)

@common_doc(COMMON_DOC)
@node_eval
Expand Down
4 changes: 2 additions & 2 deletions podpac/core/data/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ def _first_init(self, **kwargs):
):
raise TypeError("CSV requires at least one of time_col, alt_col, lat_col, or lon_col.")

return kwargs
return super(CSV, self)._first_init(**kwargs)

@property
def _alt_col(self):
Expand Down Expand Up @@ -1199,7 +1199,7 @@ def _first_init(self, **kwargs):
elif isinstance(kwargs["reprojected_coordinates"], string_types):
kwargs["reprojected_coordinates"] = Coordinates.from_json(kwargs["reprojected_coordinates"])

return kwargs
return super(ReprojectedSource, self)._first_init(**kwargs)

@common_doc(COMMON_DATA_DOC)
def get_native_coordinates(self):
Expand Down
2 changes: 1 addition & 1 deletion podpac/core/pipeline/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def _first_init(self, path=None, **kwargs):
with open(path) as f:
kwargs["definition"] = json.load(f, object_pairs_hook=OrderedDict)

return kwargs
return super(Pipeline, self)._first_init(**kwargs)

@tl.validate("json")
def _json_validate(self, proposal):
Expand Down

0 comments on commit c02dc03

Please sign in to comment.