Skip to content
Snippets Groups Projects
Commit ed301652 authored by Pete Peterson's avatar Pete Peterson Committed by GitHub
Browse files

Merge pull request #19894 from mantidproject/19876_peaks_workspace_instrument_parameters

Read parameter map on load nexus for peaks
parents d23449f3 781c37f3
No related branches found
No related tags found
No related merge requests found
......@@ -1012,9 +1012,8 @@ API::Workspace_sptr LoadNexusProcessed::loadPeaksEntry(NXEntry &entry) {
// This loads logs, sample, and instrument.
peakWS->loadExperimentInfoNexus(getPropertyValue("Filename"), m_cppFile,
parameterStr);
// Populate the instrument parameters in this workspace - this works around
// a bug
peakWS->populateInstrumentParameters();
// Populate the instrument parameters in this workspace
peakWS->readParameterMap(parameterStr);
} catch (std::exception &e) {
g_log.information("Error loading Instrument section of nxs file");
g_log.information(e.what());
......
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