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

Merge branch 'last-minute-fixes' into 'develop'

Last minute fixes

See merge request !493
parents 63a8b1d0 a540773c
No related branches found
No related tags found
6 merge requests!685Release 2.4,!684Release 2.4,!567Release 2.2.1,!566Release 2.2,!501Release 2.1,!493Last minute fixes
Pipeline #97263 passed with stages
in 9 minutes and 27 seconds
......@@ -104,7 +104,7 @@ config-file on the toy dataset via the ``-c`` and ``-d`` options:
.. code-block:: sh
python3 -m saqc -c resources/data/myconfig.csv -d resources/data/data.csv
python3 -m saqc -c docs/resources/data/myconfig.csv -d docs/resources/data/data.csv
On Windows
""""""""""
......@@ -126,7 +126,7 @@ config-file on the toy dataset via the ``-c`` and ``-d`` options:
.. code-block:: sh
py -3 -m saqc -c resources/data/myconfig.csv -d resources/data/data.csv
py -3 -m saqc -c docs/resources/data/myconfig.csv -d docs/resources/data/data.csv
If you installed saqc via PYPi, you can omit ``sh python -m``.
......@@ -159,7 +159,7 @@ use of the ``-o`` option:
.. code-block:: sh
saqc -c resources/data/config.csv -d resources/data/data.csv -o resources/data/out.csv
saqc -c docs/resources/data/config.csv -d docs/resources/data/data.csv -o out.csv
Which saves a dataframe that contains both the original data and the quality
flags that were assigned by SaQC for each of the variables:
......
......@@ -29,6 +29,6 @@ class Constants:
@doc(saqc.funcs.constants.flagConstants.__doc__)
def flagConstants(
self, field: str, thresh: float, window: str, flag: float = BAD, **kwargs
self, field: str, thresh: float, window: int | str, flag: float = BAD, **kwargs
) -> saqc.SaQC:
return self._defer("flagConstants", locals())
......@@ -28,7 +28,7 @@ def flagConstants(
field: str,
flags: Flags,
thresh: float,
window: str,
window: int | str,
flag: float = BAD,
**kwargs,
) -> Tuple[DictOfSeries, Flags]:
......
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