-
Notifications
You must be signed in to change notification settings - Fork 18
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
[PAPRIKA] Host-Guest Free Energy Gradients #342
base: master
Are you sure you want to change the base?
Conversation
Question: I noticed that the code in openff-evaluator/openff/evaluator/protocols/openmm.py Lines 117 to 122 in ef37ac8
|
@@ -398,6 +398,8 @@ def _build_metadata( | |||
"n_pull_windows": n_pull_windows, | |||
"release_windows_indices": [*range(len(attach_lambdas))], | |||
"release_lambdas": release_lambdas, | |||
"bound_window_index": [[*range(n_pull_windows)][0]], |
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.
Should bound_window_index
and unbound_window_index
be lists, or can they just be single values? I think if they can be single values this will simplify _paprika_build_end_states_protocol
by a fair bit!
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 set bound_window_index
and unbound_window_index
as lists because template_values
from ProtocolReplicator
requires a list as input. Are you referring to setting template_value
and template_index
instead?
openff-evaluator/openff/evaluator/workflow/schemas.py
Lines 136 to 138 in e55c86b
def apply( | |
self, protocols, template_values=None, template_index=-1, template_value=None | |
): |
Thanks @jeff231li! I've added this to my queue to review within the next week or so. Please ping if you require it more urgently! |
@SimonBoothroyd I'm reviewing this PR this week; are there any areas of concern preventing merge? I'll prioritize getting the CI to pass first. |
I think the implementation looks like a great first pass, but currently contains large areas where code either duplicates already present functionalities ( Unfortunately I don't have the time at the moment to look over this and suggest the changes which will be required to be merge, so it may be some time before this will be able to be merged - my sincerest apologies for this delay! |
Description
This PR adds support for calculating the free energy gradients for host-guest systems with the
paprika
protocol.Status