Skip to content
Snippets Groups Projects
Commit fb15b4d8 authored by Alex Buts's avatar Alex Buts
Browse files

Re #13566 fixing issues with smooth neighbour doctests

parent 5b4b4499
No related branches found
No related tags found
No related merge requests found
......@@ -1258,6 +1258,12 @@ Instrument::ContainsState Instrument::containsRectDetectors() const {
if (detector && detector->isMonitor())
continue;
// skip choppers HACK!
if(comp->getName()=="chopper-position") {
continue;
}
if (dynamic_cast<const RectangularDetector *>(comp.get())) {
if (!foundRect)
foundRect = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment