Skip to content
Snippets Groups Projects
Commit 06d9b4ca authored by Peter Lünenschloß's avatar Peter Lünenschloß
Browse files

made the para checker accept None as valid option

parent 44282e7e
No related branches found
No related tags found
No related merge requests found
......@@ -113,10 +113,10 @@ def flagConstants_VarianceBased(data, flags, field, flagger, plateau_window_min=
'data_rate': {'value': data_rate,
'tests': {'not nan': lambda x: x is not np.nan}},
'var_total_nans': {'value': var_total_nans,
'type': [int],
'type': [int, type(None)],
'range': [0, np.inf]},
'var_consec_nans': {'value': var_consec_nans,
'type': [int],
'type': [int, type(None)],
'range': [0, np.inf]}
},
kwargs['func_name'])
......
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