-
Notifications
You must be signed in to change notification settings - Fork 664
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A Universe now holds onto its initialization kwargs.
* A Universe now holds onto its initialization kwargs. (Fixes #292) This is useful for external libraries, such as MDSynthesis (https://github.com/datreant/MDSynthesis), to re-initialize a Universe from its arguments. * Added tests for Universe keeping a copy of its init kwargs. Basic test that it holds on to these as we'd expect in test_atomgroup.TestUniverse. Another test that these work as expected in guess_bonds tests. * Test equality of full kwargs dict * Exposed Universe kwargs with read-only property * Updated changelog with Universe kwargs exposure * guess_bounds -> guess_bonds * Made test for universe kwargs staticmethod since we don't use self * Removed `self` from staticmethod test.
- Loading branch information
Showing
3 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
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
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
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