Skip to content

Commit 4a30823

Browse files
committed
linting fights on this
1 parent b4b1a1e commit 4a30823

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oceans/filters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ def pl33tn(x, dt=1.0, T=33.0, mode="valid", t=None):
608608
import pandas as pd
609609
import xarray as xr
610610

611-
if isinstance(x, xr.Dataset | pd.DataFrame):
611+
if isinstance(x, (xr.Dataset, pd.DataFrame)):
612612
raise TypeError("Input a DataArray not a Dataset, or a Series not a DataFrame.")
613613

614614
if isinstance(x, pd.Series) and not isinstance(

0 commit comments

Comments
 (0)