Ticket #4285 (closed: fixed)
PeakIntegration and IntegratePeakTimeSlices for instruments with no rectangular detectors
Reported by: | Vickie Lynch | Owned by: | Vickie Lynch |
---|---|---|---|
Priority: | major | Milestone: | Release 2.0 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Wenduo Zhou |
Description
PeakIntegration and IntegratePeakTimeSlices should fail gracefully if you try to point then at another type of instrument, i.e. one without rectangular detectors. The error message should be more informative that what we have at present: PeakIntegration started. Error in execution of algorithm PeakIntegration: MatrixWorkspace::getDetectorIDToWorkspaceIndexMap(): more than 1 detector for one histogram! I cannot generate a map of detector ID to workspace index.
Change History
Note: See
TracTickets for help on using
tickets.
Refs #4285 check for non-RectangularDetectors