Commit 1b7014d0 authored by Simon Heybrock's avatar Simon Heybrock
Browse files

Re #18421. Fix issue with PeaksWorkspace after ExperimentInfo change.

parent eb9fb63a
......@@ -47,6 +47,8 @@ PeaksWorkspace::PeaksWorkspace()
: IPeaksWorkspace(), peaks(), columns(), columnNames(),
m_coordSystem(None) {
initColumns();
// PeaksWorkspace does not use the grouping mechanism of ExperimentInfo.
setNumberOfDetectorGroups(0);
}
//---------------------------------------------------------------------------------------------
......@@ -59,6 +61,8 @@ PeaksWorkspace::PeaksWorkspace(const PeaksWorkspace &other)
: IPeaksWorkspace(other), peaks(other.peaks), columns(), columnNames(),
m_coordSystem(other.m_coordSystem) {
initColumns();
// PeaksWorkspace does not use the grouping mechanism of ExperimentInfo.
setNumberOfDetectorGroups(0);
}
//=====================================================================================
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment