Skip to content

Set _pre_run_state attribribute in Sire dynamics#141

Merged
lohedges merged 4 commits intodevelfrom
fix_sire_419
Apr 13, 2026
Merged

Set _pre_run_state attribribute in Sire dynamics#141
lohedges merged 4 commits intodevelfrom
fix_sire_419

Conversation

@lohedges
Copy link
Copy Markdown
Contributor

This PR is a companion to OpenBioSim/sire#420. It sets the _pre_run_state attribute of the DynamicsData object, allowing correct recovery during a crash. The state is set after each repex swap, then conditionally again following any MC sampling move that updates atom positions. The PR also exposes the auto_fix_minimise dynamics option, allowing it to be disabled if crash recovery isn't desired.

@lohedges lohedges added the bug Something isn't working label Apr 13, 2026
@lohedges lohedges merged commit 29a033d into devel Apr 13, 2026
4 checks passed
@lohedges lohedges deleted the fix_sire_419 branch April 13, 2026 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant