Skip to content
Snippets Groups Projects
Commit 35187685 authored by David Schäfer's avatar David Schäfer
Browse files

bugfix: empty columns made the unmasking fail

parent e4627d9a
No related branches found
No related tags found
2 merge requests!193Release 1.4,!188Release 1.4
Pipeline #7378 passed with stages
in 9 minutes and 56 seconds
......@@ -335,7 +335,7 @@ def _unmaskData(data_old, mask_old, data_new, flagger_new, to_mask):
# this throw out:
# - any newly assigned columns
# - columns that wasn't masked, due to masking-kw
columns = mask_old.columns.intersection(data_new.columns)
columns = mask_old.dropempty().columns.intersection(data_new.dropempty().columns)
mask_new = flagger_new.isFlagged(field=columns, flag=to_mask, comparator="==")
for col in columns:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment