-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Update molecule mapping #475
Conversation
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.
Because this is still a draft, I don't really know what to review
…olecule mapping to generator system.
CI/integration_tests/transformations/test_molecular_mapping_results.py
Outdated
Show resolved
Hide resolved
CI/integration_tests/transformations/test_molecular_mapping_results.py
Outdated
Show resolved
Hide resolved
This is however related to #476 |
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.
I'm still struggeling with the dataclass tests but besides them looking forward to merge it.
CI/integration_tests/transformations/test_molecular_mapping_results.py
Outdated
Show resolved
Hide resolved
The data class that you are referring to is the issue that you agreed to handle at a separate time and is open in #477. The initial points for which you wanted a data class are now a data class in the tests and in the code. |
this PR should have really been squashed before merge with all the back and forth + format litter |
I would propose to almost always use |
The idea in this PR is that I wanted to add an analysis of water as a test and example and in doing so, go through MDSuite functionality and identify bugs and repair them such that the study can continue. I will keep adding small notes on what has changed to aid in the review. It is nothing large just small bug fixes that arise when trying to use the software together. Along with the fixes, I am also writing specific tests to avoid these things from breaking in the future.
Summary of additions and changes
Anything Bold-fonted is now included to some extent in a test. To the extent that a test will fail if something that was fixed in this PR is violated in the future.
{'HW1': 1, 'OW': 1, 'HW2': 1}
and it will build water molecules with these species. This makes it easier to work with GROMACS where typically species are given as a ligand name or simple a numbered species based on its location in a molecule.How to test this pull request
Tests will be added along with a notebook discussing the different methods for building molecules and how they work which can also go into the documentation.
Notes
Reviews are welcomed at any point in the PR as well as ideas for improving the mapping module as I go through it. I have some changes planned in terms of its overall functionality so perhaps it is better to wait for that but the choice is yours.
TODO
Problem with RDF
The RDF seems to return all zeros when trying to use selected atoms to compute it. The distance tensor is correct but during the binning method all values in the tensors are set to zero even if in the distance tensor they are within the cutoff.