From 1361e460b85ed05058c2f7ae3b53e14cf05351ba Mon Sep 17 00:00:00 2001 From: Peter Luenenschloss <peter.luenenschloss@ufz.de> Date: Fri, 23 Apr 2021 11:29:25 +0200 Subject: [PATCH] black applies --- saqc/funcs/constants.py | 2 +- saqc/funcs/noise.py | 9 +-------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/saqc/funcs/constants.py b/saqc/funcs/constants.py index 083281d5d..c0e642d6f 100644 --- a/saqc/funcs/constants.py +++ b/saqc/funcs/constants.py @@ -149,7 +149,7 @@ def flagByVariance( window, thresh, operator.lt, - min_periods=min_periods + min_periods=min_periods, ) flags[to_set[to_set].index, field] = flag diff --git a/saqc/funcs/noise.py b/saqc/funcs/noise.py index 7f94645ca..c96f0f49c 100644 --- a/saqc/funcs/noise.py +++ b/saqc/funcs/noise.py @@ -67,14 +67,7 @@ def flagByStatLowPass( sub_winsz = pd.Timedelta(sub_winsz) to_set = statPass( - datcol, - stat, - winsz, - thresh, - operator.gt, - sub_winsz, - sub_thresh, - min_periods + datcol, stat, winsz, thresh, operator.gt, sub_winsz, sub_thresh, min_periods ) flags[to_set[to_set].index, field] = flag return data, flags -- GitLab