Skip to content
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
Copy Markdown
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
Copy Markdown
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