Skip to content
Snippets Groups Projects

Several fixes

Closed David Schäfer requested to merge multifix into develop
1 unresolved thread
2 files
+ 18
22
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 0
7
@@ -210,13 +210,6 @@ def _getMaskingThresh(masking, kwargs, fname):
@@ -210,13 +210,6 @@ def _getMaskingThresh(masking, kwargs, fname):
if not isinstance(thresh, (bool, float, int)):
if not isinstance(thresh, (bool, float, int)):
raise TypeError(f"'to_mask' must be of type bool or float")
raise TypeError(f"'to_mask' must be of type bool or float")
if masking == "none" and thresh not in (False, np.inf):
# TODO: fix warning reference to docu
warnings.warn(
f"the saqc-function {fname!r} ignores masking and therefore does not evaluate the passed "
f"'to_mask'-keyword. Please refer to the documentation: TODO"
)
if thresh is True: # masking ON
if thresh is True: # masking ON
thresh = UNFLAGGED
thresh = UNFLAGGED
Loading