Mantid can crash if all detectors are covered by a drawn shape in the Draw tab of Instrument viewer widget and then such a mask is applied to data. This was observed during beta testing of v6.5, but I believe is an issue since at least v6.3.
Observed using data from a number of instruments: ARCS (ARCS_2963.nxs), SALSA, D11B, D22B, D17, CORELLI (CORELLI_29782.nxs).
To Reproduce
Load data, e.g. ARCS_2963.nxs from the UnitTest data.
Open instrument view, go to Draw tab.
Draw a shape covering the entire view of the instrument, e.g. a rectangle.
Press on 'Apply to Data' button.
Observe the crash.
Expected behavior
Masking applied correctly to the detectors selected by the drawn shape, no hard crash, or at least a meaningful error message.
Platform/Version (please complete the following information):
Describe the bug
Mantid can crash if all detectors are covered by a drawn shape in the Draw tab of Instrument viewer widget and then such a mask is applied to data. This was observed during beta testing of v6.5, but I believe is an issue since at least v6.3.
Observed using data from a number of instruments: ARCS (
ARCS_2963.nxs
), SALSA, D11B, D22B, D17, CORELLI (CORELLI_29782.nxs
).To Reproduce
ARCS_2963.nxs
from the UnitTest data.Expected behavior Masking applied correctly to the detectors selected by the drawn shape, no hard crash, or at least a meaningful error message.
Platform/Version (please complete the following information):
Additional context