Skip to content

Commit

Permalink
MaskBinsData: set MaskBins outputWorkspace via string
Browse files Browse the repository at this point in the history
  • Loading branch information
darominski committed Jun 15, 2022
1 parent e758270 commit cce776f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qt/widgets/instrumentview/src/MaskBinsData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ void MaskBinsData::mask(std::shared_ptr<Mantid::API::MatrixWorkspace> &workspace
[](const size_t spec) -> int { return static_cast<int>(spec); });
auto alg = Mantid::API::AlgorithmManager::Instance().create("MaskBins", -1);
alg->setProperty("InputWorkspace", workspace);
alg->setProperty("OutputWorkspace", workspace);
alg->setPropertyValue("OutputWorkspace", workspace->getName());
alg->setProperty("InputWorkspaceIndexSet", spectraList);
alg->setProperty("XMin", mask.start);
alg->setProperty("XMax", mask.end);
Expand Down

0 comments on commit cce776f

Please sign in to comment.