Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Energy trajectory key is also required in else block. [ci skip]
  • Loading branch information
lohedges committed Mar 24, 2026
commit c81b8d4ab7850f3a9b16d9a165aab24f69147ee2
2 changes: 1 addition & 1 deletion src/sire/mol/_dynamics.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,11 +492,11 @@ def _exit_dynamics_block(
zip(lambda_windows, rest2_scale_factors)
):
if lambda_value != sim_lambda_value:
key = f"{lambda_value:.5f}"
if (
not has_lambda_index
or abs(lambda_index - i) <= num_energy_neighbours
):
key = f"{lambda_value:.5f}"
self._omm_mols.set_lambda(
lambda_value,
rest2_scale=rest2_scale,
Expand Down