From 91aed241f6a9fa43963217a276259da9eed1e81c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 27 Nov 2024 15:06:29 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- xpublish_wms/wms/get_map.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xpublish_wms/wms/get_map.py b/xpublish_wms/wms/get_map.py index 88685eb..0ae2b52 100644 --- a/xpublish_wms/wms/get_map.py +++ b/xpublish_wms/wms/get_map.py @@ -242,7 +242,7 @@ def select_custom_dim(self, da: xr.DataArray) -> xr.DataArray: for dim, value in self.dim_selectors.items(): if dim in da.coords: dtype = da[dim].dtype - method=None + method = None if "timedelta" in str(dtype): value = pd.to_timedelta(value) elif np.issubdtype(dtype, np.integer):