Closed prjemian closed 6 months ago
The DiffractometerConfiguration.restore() method should push (apply_constraints()) to the existing stack instead of replacing the stack entirely. This preserves undo_last_constraints() and reset_constraints().
DiffractometerConfiguration.restore()
apply_constraints()
undo_last_constraints()
reset_constraints()
Here: https://github.com/bluesky/hklpy/blob/7ea4e5cc7c4bfc3a8036bf0dc294750f124fe10b/hkl/configuration.py#L462
The
DiffractometerConfiguration.restore()
method should push (apply_constraints()
) to the existing stack instead of replacing the stack entirely. This preservesundo_last_constraints()
andreset_constraints()
.