Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 4, 2024
1 parent 2cbd6be commit 6edf8b6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions mesmer/stats/_power_transformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,10 @@ def get_lambdas_from_covariates(
"""
lc_dims = {"month", "coeff"}
_check_dataarray_form(lambda_coeffs, name="lambda_coeffs", required_dims={"month", "coeff"})
yp_dims = {str(dim) for dim in lambda_coeffs.dims} - lc_dims
_check_dataarray_form(
lambda_coeffs, name="lambda_coeffs", required_dims={"month", "coeff"}
)
yp_dims = {str(dim) for dim in lambda_coeffs.dims} - lc_dims
_check_dataarray_form(yearly_pred, name="yearly_pred", required_dims=yp_dims)

lambdas = xr.apply_ufunc(
Expand Down

0 comments on commit 6edf8b6

Please sign in to comment.