-
Notifications
You must be signed in to change notification settings - Fork 3
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 random number generation by removing legacy random number generation #78
Merged
marcelmbn
merged 2 commits into
grimme-lab:main
from
marcelmbn:fix/random_number_generator
Nov 14, 2024
Merged
Fix random number generation by removing legacy random number generation #78
marcelmbn
merged 2 commits into
grimme-lab:main
from
marcelmbn:fix/random_number_generator
Nov 14, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Marcel Müller <marcel.mueller@thch.uni-bonn.de>
Signed-off-by: Marcel Müller <marcel.mueller@thch.uni-bonn.de>
jonathan-schoeps
approved these changes
Nov 13, 2024
marcelmbn
added a commit
that referenced
this pull request
Nov 18, 2024
* Update Docs (#72) * update docs, co-workers, pyproject.toml, remove typos Signed-off-by: Marcel Müller <marcel.mueller@thch.uni-bonn.de> * update CHANGELOG, make case more consistent Signed-off-by: Marcel Müller <marcel.mueller@thch.uni-bonn.de> * update mindlessgen.toml Signed-off-by: Marcel Müller <marcel.mueller@thch.uni-bonn.de> * align defaults Signed-off-by: Marcel Müller <marcel.mueller@thch.uni-bonn.de> * update reference default value Signed-off-by: Marcel Müller <marcel.mueller@thch.uni-bonn.de> * update tests Signed-off-by: Marcel Müller <marcel.mueller@thch.uni-bonn.de> * correct inconsistent boolean Signed-off-by: Marcel Müller <marcel.mueller@thch.uni-bonn.de> --------- Signed-off-by: Marcel Müller <marcel.mueller@thch.uni-bonn.de> * Fix random number generation by removing legacy random number generation (#78) * fix random number generation by incorporating default_rng Signed-off-by: Marcel Müller <marcel.mueller@thch.uni-bonn.de> * update CHANGELOG.md Signed-off-by: Marcel Müller <marcel.mueller@thch.uni-bonn.de> --------- Signed-off-by: Marcel Müller <marcel.mueller@thch.uni-bonn.de> * Remove deprecated tests that are not strictly true (#79) * remove deprecated tests Signed-off-by: Marcel Müller <marcel.mueller@thch.uni-bonn.de> * remove random numpy seed as it's pointless now Signed-off-by: Marcel Müller <marcel.mueller@thch.uni-bonn.de> --------- Signed-off-by: Marcel Müller <marcel.mueller@thch.uni-bonn.de> * A fixed molecular charge for the molecule generation. (#73) * A new function to set a fixed charge value Signed-off-by: Jonathan Schöps <s6jtscho@uni-bonn.de> * latest changes to the fixed charge method Signed-off-by: Jonathan Schöps <s6jtscho@uni-bonn.de> * Fixed charge and element composition works test have to be added Signed-off-by: Jonathan Schöps <s6jtscho@uni-bonn.de> * More modular fixed charge routine Signed-off-by: Jonathan Schöps <s6jtscho@uni-bonn.de> * complete fixed charge routine Signed-off-by: Jonathan Schöps <s6jtscho@uni-bonn.de> * Removed an unnessesary import Signed-off-by: Jonathan Schöps <s6jtscho@uni-bonn.de> * more convenient function name Signed-off-by: Jonathan Schöps <s6jtscho@uni-bonn.de> * Worked in the suggested changes Signed-off-by: Jonathan Schöps <s6jtscho@uni-bonn.de> * Added a changelog entry Signed-off-by: Jonathan Schöps <s6jtscho@uni-bonn.de> * Changes a bug with an array type Signed-off-by: Jonathan Schöps <s6jtscho@uni-bonn.de> * removed left over print statements Signed-off-by: Jonathan Schöps <s6jtscho@uni-bonn.de> * Implemented requested changes Signed-off-by: Jonathan Schöps <s6jtscho@uni-bonn.de> * Added a new test to raise a ValueError Signed-off-by: Jonathan Schöps <s6jtscho@uni-bonn.de> --------- Signed-off-by: Jonathan Schöps <s6jtscho@uni-bonn.de> * `atlist` to `ati` and back conversion (#81) * implement atlist to ati conversion Signed-off-by: Marcel Müller <marcel.mueller@thch.uni-bonn.de> * add conversion test Signed-off-by: Marcel Müller <marcel.mueller@thch.uni-bonn.de> --------- Signed-off-by: Marcel Müller <marcel.mueller@thch.uni-bonn.de> * Bug fix were uhf was always 0 if a fixed charge were given (#80) * bug fix were uhf was always 0 if a fixed charge were given Signed-off-by: Jonathan Schöps <s6jtscho@uni-bonn.de> * updated a test for the right uhf Signed-off-by: Jonathan Schöps <s6jtscho@uni-bonn.de> * get rid of redundant code within set_random_charge Signed-off-by: Jonathan Schöps <s6jtscho@uni-bonn.de> * using atlist as a variable in misscellaneous Signed-off-by: Jonathan Schöps <s6jtscho@uni-bonn.de> --------- Signed-off-by: Jonathan Schöps <s6jtscho@uni-bonn.de> * adapt CODEOWNERS to commit history (#82) Signed-off-by: Marcel Müller <marcel.mueller@thch.uni-bonn.de> * The `.UHF` file is now written if the molecule has a uhf larger than 0 (#74) * The .UHF file is now written if the molecule has a uhf larger than 0 Signed-off-by: Jonathan Schöps <s6jtscho@uni-bonn.de> * Writes the .CHRG file if the charge is larger than 0 Signed-off-by: Jonathan Schöps <s6jtscho@uni-bonn.de> * charge and uhf can be None Signed-off-by: Jonathan Schöps <s6jtscho@uni-bonn.de> * Negative charge is now written aswell Signed-off-by: Jonathan Schöps <s6jtscho@uni-bonn.de> --------- Signed-off-by: Jonathan Schöps <s6jtscho@uni-bonn.de> * update CHANGELOG Signed-off-by: Marcel Müller <marcel.mueller@thch.uni-bonn.de> --------- Signed-off-by: Marcel Müller <marcel.mueller@thch.uni-bonn.de> Signed-off-by: Jonathan Schöps <s6jtscho@uni-bonn.de> Co-authored-by: Jonathan Schöps <106986430+jonathan-schoeps@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
np.random.randint(...
statements withnumatoms_all = rng.integers(...
based on initialization of a default random number generator fromnumpy
:np.random.default_rng()
.