Closed arrrrrmin closed 6 months ago
Hi @arrrrrmin,
Good catch, and thanks for the elaborate issue with MWE! 👍🏼
You are right. That sounds like a rounding error in those code lines.
We very much appreciate a PR fixing this issue. Please also add a new test to our test suite so that we can catch this error in the future. If you need help with preparing the PR, please let me know.
🚀 I released a new version with your fix: https://pypi.org/project/timeeval-gutenTAG/1.4.1/
Thank you very much!
Hi there 👋
first of all, thanks for the great repository. I came across this example which seems to fail:
Running with:
python -m gutenTAG --config-yaml tests/configs/config-amp.yaml --seed 42 --no-save --plot
this fails to create the anomalyMaybe I'm wrong but as it looks the error corresponds to As far as I can see the error originates in:
https://github.com/TimeEval/GutenTAG/blob/b6e9e87c02c418f0603e9e91828f4fa5217e738a/gutenTAG/anomalies/types/amplitude.py#L35 and with
creeping-length
passed in https://github.com/TimeEval/GutenTAG/blob/b6e9e87c02c418f0603e9e91828f4fa5217e738a/gutenTAG/anomalies/types/amplitude.py#L51I'll open a PR soon, if this is fine for you. Thanks again for the repo 👍