The docstring for eztao.ts.utils.median_clip currently contains an invalid string escape. When loaded with importlib via pytest (and possibly an interaction from poetry?), tests fail on eztao import. See below and https://github.com/skorch-dev/skorch/issues/999 for examples.
<path-to-eztao>/eztao/ts/__init__.py:1: in <module>
from .utils import *
E File "<path-to-eztao>/eztao/ts/utils.py", line 85
E """Clip time series using a three point median filter.
E ^^^
E SyntaxError: invalid escape sequence '\s'
Fix
This PR makes the docstring raw and adds the :math: directive. Here is the updated, rendered docstring.
Issue
The docstring for
eztao.ts.utils.median_clip
currently contains an invalid string escape. When loaded withimportlib
viapytest
(and possibly an interaction frompoetry
?), tests fail oneztao
import. See below and https://github.com/skorch-dev/skorch/issues/999 for examples.Fix
This PR makes the docstring raw and adds the
:math:
directive. Here is the updated, rendered docstring.