Closed MialLewis closed 1 year ago
Description of work:
As per a similar bug fix, this PR ensures that is_slice propagates on binary operations involving histogram workspaces.
is_slice
This prevents a crash when correcting the intensity of a slice taken from a pixel workspace to GDOS.
GDOS
This bug was introduced through this pr: https://github.com/mantidproject/mslice/pull/908
To test: 1) Load HYS_63373_4pixel.nxspe 2) Project, and plot as a slice 3) Take an icut. 4) Using the slice window, correct the intensity to GDOS. 5) Observe no crash.
HYS_63373_4pixel.nxspe
icut
Description of work:
As per a similar bug fix, this PR ensures that
is_slice
propagates on binary operations involving histogram workspaces.This prevents a crash when correcting the intensity of a slice taken from a pixel workspace to
GDOS
.This bug was introduced through this pr: https://github.com/mantidproject/mslice/pull/908
To test: 1) Load
HYS_63373_4pixel.nxspe
2) Project, and plot as a slice 3) Take anicut
. 4) Using the slice window, correct the intensity toGDOS
. 5) Observe no crash.