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

[PAPRIKA] Host-Guest Free Energy Gradients #342

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
2 changes: 2 additions & 0 deletions openff/evaluator/datasets/taproom/taproom.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]],
Copy link
Contributor

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!

Copy link
Collaborator Author

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?

def apply(
self, protocols, template_values=None, template_index=-1, template_value=None
):

"unbound_window_index": [[*range(n_pull_windows)][-1]],
}
)

Expand Down
Loading