Skip to content
Snippets Groups Projects
Commit 2cd81a0b authored by Bert Palm's avatar Bert Palm 🎇
Browse files

added warning

parent ef68878d
No related branches found
No related tags found
1 merge request!231new Flagger and Stuff
......@@ -75,6 +75,10 @@ def clearFlags(data: DictOfSeries, field: ColumnName, flagger: Flagger, **kwargs
forceFlags : set whole column to a flag value
flagUnflagged : set flag value at all unflagged positions
"""
if 'flag' in kwargs:
flag = kwargs.pop('flag')
warnings.warn(f'`flag={flag}` is ignored here.')
return forceFlags(data, field, flagger, flag=UNFLAGGED, **kwargs)
......
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