Skip to content

Conversation

SilkeSchomann
Copy link
Collaborator

Description of work:
This PR fixes an unhandled exception that occurred when overplotting a cut with changed intensity and a Bragg peak.

To test:

Please replace MSlice in an installed Mantid with the version from this branch and follow steps in the original issue.

Please note that the Bragg peak is not supposed to get displayed after plotting over.

Fixes #38673.

@SilkeSchomann SilkeSchomann force-pushed the 38673_fix_overplot_exception branch from 0e3f3c8 to 7262a73 Compare May 29, 2025 13:32
Copy link
Contributor

@GuiMacielPereira GuiMacielPereira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Followed manual testing instructions and checked that taking a cut > change intensity > plot bragg peak > overplot does not cause a crash. Instead the plot correctly returns to its original state (without the bragg peak).

Also great that there is a new unit test 👍

@SilkeSchomann SilkeSchomann merged commit 481008d into main May 29, 2025
2 checks passed
@SilkeSchomann SilkeSchomann deleted the 38673_fix_overplot_exception branch May 29, 2025 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants