From 234763b9f4ec1f23f1bda2cabb5734cd300f0151 Mon Sep 17 00:00:00 2001 From: David Schaefer <david.schaefer@ufz.de> Date: Wed, 6 Mar 2024 08:54:31 +0100 Subject: [PATCH] black --- saqc/funcs/flagtools.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/saqc/funcs/flagtools.py b/saqc/funcs/flagtools.py index 4f6e69c51..3167097c3 100644 --- a/saqc/funcs/flagtools.py +++ b/saqc/funcs/flagtools.py @@ -377,10 +377,12 @@ class FlagtoolsMixin: self._data[target] = pd.Series(np.nan, index=self._data[field].index) self._flags._data[target] = History(self._data[target].index) if not self._data[field].index.equals(self._data[target].index): - raise ValueError(f'All Field and Target indices must match!\n' - f'Indices of {field} and {target} seem to be not congruent within the context of the given\n' - f'- fields: {fields}\n ' - f'- and targets: {targets}') + raise ValueError( + f"All Field and Target indices must match!\n" + f"Indices of {field} and {target} seem to be not congruent within the context of the given\n" + f"- fields: {fields}\n " + f"- and targets: {targets}" + ) history = self._flags.history[field].copy(deep=True) if overwrite is False: -- GitLab