Skip to content

Commit

Permalink
Refs #9491. Set actual units instead of label for group asym. as well
Browse files Browse the repository at this point in the history
  • Loading branch information
arturbekasov committed May 21, 2014
1 parent 74827eb commit 4b944b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Code/Mantid/Framework/Algorithms/src/AsymmetryCalc.cpp
Expand Up @@ -162,7 +162,7 @@ void AsymmetryCalc::exec()
//Copy the imput time bins on to the output
outputWS->dataX(0) = inputWS->readX(0);

// Update Y axis label
// Update Y axis units
outputWS->setYUnit("Asymmetry");

setProperty("OutputWorkspace", outputWS);
Expand Down
4 changes: 2 additions & 2 deletions Code/Mantid/Framework/Algorithms/src/RemoveExpDecay.cpp
Expand Up @@ -179,8 +179,8 @@ void MuonRemoveExpDecay::exec()
PARALLEL_CHECK_INTERUPT_REGION
}

// Update Y axis label
outputWS->setYUnitLabel("Asymmetry");
// Update Y axis units
outputWS->setYUnit("Asymmetry");

setProperty("OutputWorkspace", outputWS);
}
Expand Down

0 comments on commit 4b944b1

Please sign in to comment.