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

add seed for random noise/gaussian generation in tests #668

Merged
merged 3 commits into from
Mar 28, 2023

Conversation

cshanahan1
Copy link
Collaborator

@cshanahan1 cshanahan1 commented Mar 28, 2023

Closes #667

Randomness in tests for source detection was causing them to intermittently fail. Tests now use np.random.seed(0) by default, and have an option to change or not use this seed.

Checklist

  • added entry in CHANGES.rst under the corresponding subsection
  • updated relevant tests
  • updated relevant documentation
  • updated relevant milestone(s)
  • added relevant label(s)

@WilliamJamieson WilliamJamieson merged commit 96fb108 into spacetelescope:main Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Intermittent test failure
2 participants