From d4311c66d41b13840fe395177c4f8ded2f408ac0 Mon Sep 17 00:00:00 2001 From: Ryan Grout Date: Wed, 20 Nov 2024 10:54:29 -0700 Subject: [PATCH] Fix typo. (#985) Fix typo in fim script. --- .../image_based/viz_hand_fim_processing/lambda_function.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/LAMBDA/viz_functions/image_based/viz_hand_fim_processing/lambda_function.py b/Core/LAMBDA/viz_functions/image_based/viz_hand_fim_processing/lambda_function.py index ee31c477..9a837e01 100644 --- a/Core/LAMBDA/viz_functions/image_based/viz_hand_fim_processing/lambda_function.py +++ b/Core/LAMBDA/viz_functions/image_based/viz_hand_fim_processing/lambda_function.py @@ -604,7 +604,7 @@ def interpolate_stage(df_row, df_hydro): if subset_hydro.empty: return np.nan, np.nan, np.nan, np.nan, np.nan - subset_hydro = subset_hydro.sort_value('discahrge_cms') + subset_hydro = subset_hydro.sort_values('discharge_cms') discharges = subset_hydro['discharge_cms'].values stages = subset_hydro['stage_m'].values