mantidproject / mslice

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

Not saving slice as text file #927

Closed mducle closed 11 months ago

mducle commented 1 year ago

Describe the bug If I plot a slice and the click the "floppy disk" icon to save the slice, and select the output type as "ASCII", MSlice now saves the underlying (loaded) workspace and not the slice workspace.

To Reproduce Steps to reproduce the behavior:

  1. Load data and plot a slice.
  2. Click on the floppy disk icon and select "Ascii" option.
  3. In Mantid workbench load the data again and check it is the loaded workspace and not the slice.

Expected behavior The callback for the save icon in the slice window should call mc.save_ascii(slice_ws).

Screenshots N/A

MSlice Version (please complete the following information):

Additional context Reported by users.