From 789348351158644fbcbc9a3d9b16e16f74a3e14b Mon Sep 17 00:00:00 2001 From: RickytheGuy Date: Fri, 22 Nov 2024 20:41:32 -0700 Subject: [PATCH] removed trailing comma --- basininflow/inflow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basininflow/inflow.py b/basininflow/inflow.py index 24593a2..e3dc0c3 100644 --- a/basininflow/inflow.py +++ b/basininflow/inflow.py @@ -218,7 +218,7 @@ def _guess_variable_name(var_name: str, possible_matches: list) -> str: if ds.ndim == 3: pass elif ds.ndim == 4: - inflow_df = np.where(np.isnan(inflow_df[:, 0, :]), inflow_df[:, 1, :], inflow_df[:, 0, :]), + inflow_df = np.where(np.isnan(inflow_df[:, 0, :]), inflow_df[:, 1, :], inflow_df[:, 0, :]) else: raise ValueError(f"Unknown number of dimensions: {ds.ndim}")