Skip to content

Commit

Permalink
refactor: rename postprocessing function
Browse files Browse the repository at this point in the history
  • Loading branch information
ameliefroessl committed Jun 5, 2024
1 parent e36b732 commit 1ff633d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xdem/coreg/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ def _postprocess_coreg_apply_pts(
return applied_elev


def _postprocess_coreg_apply_xarray_xarray(
def _postprocess_coreg_apply_xarray(
applied_elev: da.Array, out_transform: affine.Affine
) -> tuple[da.Array, affine.Affine]:
"""Post-processing and checks of apply for dask inputs."""
Expand Down Expand Up @@ -814,7 +814,7 @@ def _postprocess_coreg_apply(
resampling=resampling,
)
elif isinstance(applied_elev, da.Array):
applied_elev, out_transform = _postprocess_coreg_apply_xarray_xarray(
applied_elev, out_transform = _postprocess_coreg_apply_xarray(
applied_elev=applied_elev, out_transform=out_transform
)

Expand Down

0 comments on commit 1ff633d

Please sign in to comment.