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 Nov 27, 2024
1 parent 9be4f3e commit 91aed24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpublish_wms/wms/get_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 91aed24

Please sign in to comment.