Skip to content

Conversation

SilkeSchomann
Copy link
Collaborator

Description of work:
Attempting to save a cut as ASCII to a read-only folder caused an unhandled exception in the past. Now MSlice handles this problem.

To test:

Try to save a cut from the MDHisto tab to a read-only folder. Mantid should not crash.

Fixes #1073.

@github-project-automation github-project-automation bot moved this to Unassigned in DEVS May 19, 2025
@SilkeSchomann SilkeSchomann moved this from Unassigned to In review in DEVS May 20, 2025
@GuiMacielPereira GuiMacielPereira self-requested a review May 20, 2025 14:57
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.

Tried to save a cut to a read-only file and checked that the expected error was caught 👍

@github-project-automation github-project-automation bot moved this from In review to Approved in DEVS May 20, 2025
@SilkeSchomann SilkeSchomann merged commit 09be8f4 into main May 21, 2025
2 checks passed
@SilkeSchomann SilkeSchomann deleted the 1073_catch_oserror branch May 21, 2025 13:37
@github-project-automation github-project-automation bot moved this from Approved to Merged in DEVS May 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Merged
Development

Successfully merging this pull request may close these issues.

Exception thrown when saving a cut to a read-only location (or no permissions).
2 participants