Skip to content

[BUG] _rebuild_and_minimise is broken #419

@lohedges

Description

@lohedges

The crash recovery in _rebuild_and_minimise rebuilds a new OpenMM context on a dynamics crash using the internal _sire_mols attribute. However, the positions of this object are only updated when a trajectory frame is saved, so the state that the simulation is recovered to is not the same as the entrypoint to the current dynamics.run() call unless frames are saved each cycle.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions