[PAPRIKA] Host-Guest Free Energy Gradients #342
Conversation
|
Question: I noticed that the code in openff-evaluator/openff/evaluator/protocols/openmm.py Lines 117 to 122 in ef37ac8 |
| "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.
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.
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
|
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
paprikaprotocol.Status