Closed mducle closed 9 months ago
Description of work:
Fixes bug #947 where the saving from the slice plot window saves the underlying workspace rather than the actual plot.
This should be considered a temporary fix for Mantid 6.8.
A full fix for this issue should also include tests (current save functionality is not tested at all).
Also this has been checked on for the "S(q,E)" intensity type and not for others.
Edit: PR updated to handle different intensity types and a basic set of tests added.
To test:
.nxs
RebinnedOutput
Workspace2D
Fixes #947.
@MialLewis yes, your use of the name is much better... I didn't think to check they were the same; comes of trying to code at 2am I guess...
name
It looks fine to me - I'm happy for it to be merged.
Description of work:
Fixes bug #947 where the saving from the slice plot window saves the underlying workspace rather than the actual plot.
This should be considered a temporary fix for Mantid 6.8.A full fix for this issue should also include tests (current save functionality is not tested at all).Also this has been checked on for the "S(q,E)" intensity type and not for others.Edit: PR updated to handle different intensity types and a basic set of tests added.
To test:
.nxs
file.RebinnedOutput
and not aWorkspace2D
and shows the Q and E axes (and looks like the MSlice plot).Fixes #947.