Commit 857e96c1 authored by Hahn, Steven's avatar Hahn, Steven
Browse files

Refs #15726. Check for spectroscopy before neutron diffraction.

parent 639c21d2
......@@ -838,10 +838,10 @@ MdViewerWidget::getViewForInstrument(const std::string &instrumentName) const {
if (techniques.count("Single Crystal Diffraction") > 0) {
associatedView = mdConstants.getSplatterPlotView();
} else if (techniques.count("Neutron Diffraction") > 0) {
associatedView = mdConstants.getSplatterPlotView();
} else if (checkIfTechniqueContainsKeyword(techniques, "Spectroscopy")) {
associatedView = mdConstants.getMultiSliceView();
} else if (techniques.count("Neutron Diffraction") > 0) {
associatedView = mdConstants.getSplatterPlotView();
} else {
associatedView = mdConstants.getStandardView();
}
......
Supports Markdown
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