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

Builders for classical md workflows #1088

Closed

Conversation

orionarcher
Copy link
Contributor

This PR implements ElectrolyteBuilder and SolventBenchmarkBuilder classes for analysis of trajectories generated by atomate2.openmm.

The core Builder classes are supported by a variety of utility functions that interact with MDAnalysis, SolvationAnalysis, and TransportAnalysis. In addition to the usual get_items, process_items, update_targets workflow, users can also manually create an MDAnalysis.Universe directly from the taskdoc with ElectrolyteBuilder.instantiate_universe. This makes manual analysis of a small number of systems much easier.

Everything is reasonably well tested and once CI passes this will be ready for review.

NOTE: this is essentially a vastly cleaned up version of PR #1010. I linearized the commit history so that this PR is an update of PR #1087, which can be reviewed separately and merged independently of this PR.

@codecov-commenter
Copy link

codecov-commenter commented Sep 5, 2024

Codecov Report

Attention: Patch coverage is 86.03604% with 62 lines in your changes missing coverage. Please review.

Project coverage is 89.93%. Comparing base (d826c29) to head (8a5cf93).

Files with missing lines Patch % Lines
emmet-builders/emmet/builders/openmm/utils.py 66.66% 37 Missing ⚠️
emmet-core/emmet/core/openmm/tasks.py 71.05% 11 Missing ⚠️
emmet-builders/emmet/builders/openmm/core.py 95.68% 5 Missing ⚠️
...met-builders/emmet/builders/openmm/openmm_utils.py 91.93% 5 Missing ⚠️
emmet-core/emmet/core/openff/solvation.py 94.64% 3 Missing ⚠️
emmet-core/emmet/core/openff/benchmarking.py 96.96% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1088      +/-   ##
==========================================
- Coverage   90.03%   89.93%   -0.10%     
==========================================
  Files         147      154       +7     
  Lines       13460    13883     +423     
==========================================
+ Hits        12119    12486     +367     
- Misses       1341     1397      +56     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@orionarcher
Copy link
Contributor Author

Superceded by #1135

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.

2 participants