Skip to content

Commit

Permalink
linting fights on this
Browse files Browse the repository at this point in the history
  • Loading branch information
kthyng committed Sep 12, 2023
1 parent b4b1a1e commit 4a30823
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oceans/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ def pl33tn(x, dt=1.0, T=33.0, mode="valid", t=None):
import pandas as pd
import xarray as xr

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

if isinstance(x, pd.Series) and not isinstance(
Expand Down

0 comments on commit 4a30823

Please sign in to comment.