mantidproject / mslice

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

Empty lines in MD Histo tab #986

Closed SilkeSchomann closed 1 month ago

SilkeSchomann commented 1 month ago

Describe the bug When changing the intensity of a cut to GDOS, an empty line is inserted into the MDHisto tab. Deleting all items from the MDHisto tab then leads to a Mantid crash.

To Reproduce Steps to reproduce the behavior:

  1. Load a workspace into MSlice
  2. Do a cut
  3. Converted a cut into a GDOS on MSlice
  4. Observe empty line in MDHisto
  5. Select all workspaces in MDHisto and click the Delete button
  6. Mantid error

Expected behavior When converting a cut to GDOS, the corresponding workspace in MDHisto should be updated. There should be no empty lines added to the MDHisto tab.

MSlice Version (please complete the following information):

Additional context This problem occurred after a fix for https://github.com/mantidproject/mslice/issues/972.