mantidproject / mslice

Source code for Mantid MSlice
http://mantidproject.github.io/mslice
1 stars 2 forks source link

Slice plot window saving incorrect workspace #947

Closed mducle closed 11 months ago

mducle commented 1 year ago

Describe the bug Saving a "Slice" as a datafile (NeXus, Matlab or Ascii) saves the underlying workspace (with spectrum numbers) rather than the rebinned workspace (created using the Slice algorithm). Saving it as a picture saves the correct (rebinned) workspace.

To Reproduce Steps to reproduce the behavior:

  1. Open any data file
  2. Click on the "Slice" tab and click "Display"
  3. In the plot window, click the floppy disk icon and select "NeXus" as the format, and save a test file
  4. Load the test file back in Mantid and check it is not of the rebinned format.

Expected behavior The save option in the slice plot window should save the slice and not the original workspace.

Screenshots

MSlice Version (please complete the following information):

Additional context