From 954ebf2d93e09f8e7471f8da779193f6afae142c Mon Sep 17 00:00:00 2001 From: luenensc <peter.luenenschloss@ufz.de> Date: Wed, 21 Feb 2024 11:51:39 +0100 Subject: [PATCH] added missing return value assignment --- saqc/funcs/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/saqc/funcs/constants.py b/saqc/funcs/constants.py index a3af13d61..b1c68ee10 100644 --- a/saqc/funcs/constants.py +++ b/saqc/funcs/constants.py @@ -73,7 +73,7 @@ class ConstantsMixin: rolling = d.rolling(window=window, min_periods=min_periods) starting_points_mask = rolling.max() - rolling.min() <= thresh - removeRollingRamps(starting_points_mask, window=window, inplace=True) + starting_points_mask = removeRollingRamps(starting_points_mask, window=window, inplace=True) # mimic forward rolling by roll over inverse [::-1] rolling = starting_points_mask[::-1].rolling( -- GitLab