From 64670e1c6c56fb3386cf372dddea30de615efe8c Mon Sep 17 00:00:00 2001 From: Bert Palm <bert.palm@ufz.de> Date: Sat, 20 Mar 2021 01:28:39 +0100 Subject: [PATCH] fixed register bug --- saqc/core/register.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/saqc/core/register.py b/saqc/core/register.py index 9bb841b49..50df11b6b 100644 --- a/saqc/core/register.py +++ b/saqc/core/register.py @@ -284,7 +284,7 @@ def _restoreFlags(flagger: Flagger, old_state: CallState): columns = columns.difference(old_state.flagger.columns) columns = columns.append(pd.Index([old_state.field])) - out = old_state.flagger + out = old_state.flagger.copy() for c in columns: # this implicitly squash the new-flagger history (RHS) to a single column, which than is appended to # the old history (LHS). The new-flagger history possibly consist of multiple columns, one for each -- GitLab