Skip to content
Snippets Groups Projects
Commit 0cb5c1ae authored by Savici, Andrei T.'s avatar Savici, Andrei T.
Browse files

Re #18136. Add correct display normalization for MDNorm... outputs

parent 269cbb42
No related merge requests found
...@@ -118,8 +118,10 @@ void MDNormDirectSC::exec() { ...@@ -118,8 +118,10 @@ void MDNormDirectSC::exec() {
cacheInputs(); cacheInputs();
auto outputWS = binInputWS(); auto outputWS = binInputWS();
convention = Kernel::ConfigService::Instance().getString("Q.convention"); convention = Kernel::ConfigService::Instance().getString("Q.convention");
outputWS->setDisplayNormalization(Mantid::API::NoNormalization);
setProperty<Workspace_sptr>("OutputWorkspace", outputWS); setProperty<Workspace_sptr>("OutputWorkspace", outputWS);
createNormalizationWS(*outputWS); createNormalizationWS(*outputWS);
m_normWS->setDisplayNormalization(Mantid::API::NoNormalization);
setProperty("OutputNormalizationWorkspace", m_normWS); setProperty("OutputNormalizationWorkspace", m_normWS);
// Check for other dimensions if we could measure anything in the original // Check for other dimensions if we could measure anything in the original
......
...@@ -113,8 +113,10 @@ void MDNormSCD::exec() { ...@@ -113,8 +113,10 @@ void MDNormSCD::exec() {
cacheInputs(); cacheInputs();
auto outputWS = binInputWS(); auto outputWS = binInputWS();
convention = Kernel::ConfigService::Instance().getString("Q.convention"); convention = Kernel::ConfigService::Instance().getString("Q.convention");
outputWS->setDisplayNormalization(Mantid::API::NoNormalization);
setProperty<Workspace_sptr>("OutputWorkspace", outputWS); setProperty<Workspace_sptr>("OutputWorkspace", outputWS);
createNormalizationWS(*outputWS); createNormalizationWS(*outputWS);
m_normWS->setDisplayNormalization(Mantid::API::NoNormalization);
setProperty("OutputNormalizationWorkspace", m_normWS); setProperty("OutputNormalizationWorkspace", m_normWS);
// Check for other dimensions if we could measure anything in the original // Check for other dimensions if we could measure anything in the original
......
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