Skip to content

Commit

Permalink
Merge pull request #36601 from robertapplin/36597-corrections-workspa…
Browse files Browse the repository at this point in the history
…ce-sample-shape-in-name

MC Corrections workspace contains sample shape in name
  • Loading branch information
SilkeSchomann authored Jan 3, 2024
2 parents ff49e72 + 7142f0d commit a1b298a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/source/release/v6.9.0/Inelastic/Bugfixes/36597.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- The workspaces generated by the Calculate Monte Carlo Absorption tab in the :ref:`Inelastic Corrections <interface-inelastic-corrections>` interface now contain the Sample shape in their name.
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ void AbsorptionCorrections::run() {
if (nameCutIndex == -1)
nameCutIndex = sampleWsName.length();

auto const outputWsName = sampleWsName.left(nameCutIndex) + "_MC_Corrections";
auto const outputWsName = sampleWsName.left(nameCutIndex) + "_" + sampleShape + "_MC_Corrections";

monteCarloAbsCor->setProperty("CorrectionsWorkspace", outputWsName.toStdString());

Expand Down

0 comments on commit a1b298a

Please sign in to comment.