Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix reproducibility of peak split test #363

Merged
merged 3 commits into from Dec 8, 2020
Merged

Conversation

JoranAngevaare
Copy link
Member

What is the problem / what does the code in this PR do
Hotfix to fix issue #361. This PR solves two issues:

  1. Makes the test reproducible
  2. Disables check that is only working for local_minimum

This 2.nd issue was making some builds fail on travis. Did not catch that before.

@JoranAngevaare JoranAngevaare linked an issue Dec 7, 2020 that may be closed by this pull request
@JoranAngevaare JoranAngevaare changed the title Fix reproducibility of test Fix reproducibility of peak split test Dec 7, 2020
Copy link
Collaborator

@WenzDaniel WenzDaniel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Now we have full control/feedback about the tested waveforms. Just out of curiosity a question though. Any specific reasons why you have not used the numpy support of hypothesis: https://hypothesis.readthedocs.io/en/latest/numpy.html#numpy

@JoranAngevaare
Copy link
Member Author

Looks good. Now we have full control/feedback about the tested waveforms. Just out of curiosity a question though. Any specific reasons why you have not used the numpy support of hypothesis: https://hypothesis.readthedocs.io/en/latest/numpy.html#numpy

Probably I spend to little time searching. Thanks for the link!

@JoranAngevaare JoranAngevaare merged commit 43fb058 into master Dec 8, 2020
@JoranAngevaare JoranAngevaare deleted the fix_peak_split_test branch December 8, 2020 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NB breaks test should be reproducible
2 participants