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

Correct use of numpy RNG #206

Merged
merged 9 commits into from
May 24, 2022
Merged

Correct use of numpy RNG #206

merged 9 commits into from
May 24, 2022

Conversation

lbluque
Copy link
Collaborator

@lbluque lbluque commented May 22, 2022

Summary

Addresses #197 by keeping a Generator as a private attribute in moca classes that need it. The seed is saved in the SampleContainer metadata for reproducibility.

Checklist

@lbluque lbluque requested a review from kamronald May 22, 2022 20:55
@lbluque lbluque merged commit 1a54785 into CederGroupHub:main May 24, 2022
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.

1 participant