-
Notifications
You must be signed in to change notification settings - Fork 22
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
draft: Add atom type merging for Interchange.to_gromacs() #962
Closed
Closed
Changes from 27 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
20aadef
Add atom type merging for Interchange.to_gromacs()
pbuslaev 36fcd52
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] c98e14e
Update openff/interchange/interop/gromacs/export/_export.py
pbuslaev 6954a9a
Update openff/interchange/interop/gromacs/export/_export.py
pbuslaev 4ddc1e0
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] e38de61
Update openff/interchange/interop/gromacs/export/_export.py
pbuslaev f8907ae
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] b85edc7
Update _export.py
pbuslaev 817141c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 2070603
Added tests to merging atomtypes. Added flag for merging atomtypes to…
pbuslaev 185d88d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 85bff31
Fixed typo
pbuslaev 3d071f4
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 2b8fec9
Fixed typo
pbuslaev 09c44bd
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] ff52df3
Update openff/interchange/_tests/unit_tests/interop/gromacs/export/te…
pbuslaev 66acca8
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 9092e3f
Fixed imports
pbuslaev 0f72fe5
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 28171c8
Fixed smiles for testing
pbuslaev 50b98d8
Fixed to_gromacs documentation
pbuslaev 712ab1f
Added blank line to docs
pbuslaev daf225c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 363802e
Added merge_atom_types flag to get_gromac_energies
pbuslaev cd650ee
Fixed typo in tolerance
pbuslaev 5948f36
Fixed quantity comparison
pbuslaev fe3cd93
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 51c9465
Added underscore to all public methods with merge_atom_types flag
pbuslaev 4531a75
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's great to see work toward the "atom type explosion" problem that's plagued us for years. But given my recollection of the severity of the parmed bug that arose from seemingly innocuous atom type merging, it may make sense to have this be
_merge_atom_types
(with the leading underscore) or requireINTERCHANGE_EXPERIMENTAL=1
for a few releases to communicate that it's new/experimental. Once early adopters have run with it for a while we can remove the underscore and make it a public method.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is fair, I added underscore to all public methods