diff --git a/Framework/MDAlgorithms/src/ConvertToMD.cpp b/Framework/MDAlgorithms/src/ConvertToMD.cpp index 90adc440b12e93a82c06ed6eda9871f501054801..84a95e7317c9b6da5af9cc523d62d042868f711b 100644 --- a/Framework/MDAlgorithms/src/ConvertToMD.cpp +++ b/Framework/MDAlgorithms/src/ConvertToMD.cpp @@ -667,10 +667,10 @@ void ConvertToMD::findMinMax( throw(std::runtime_error( "Can not create child ChildAlgorithm to found min/max values")); - childAlg->setPropertyValue("InputWorkspace", inWS->getName()); - childAlg->setPropertyValue("QDimensions", QMode); - childAlg->setPropertyValue("dEAnalysisMode", dEMode); - childAlg->setPropertyValue("Q3DFrames", QFrame); + childAlg->setProperty("InputWorkspace", inWS); + childAlg->setProperty("QDimensions", QMode); + childAlg->setProperty("dEAnalysisMode", dEMode); + childAlg->setProperty("Q3DFrames", QFrame); childAlg->setProperty("OtherDimensions", otherDim); childAlg->setProperty("QConversionScales", ConvertTo); childAlg->setProperty("PreprocDetectorsWS", diff --git a/docs/source/release/v3.13.0/framework.rst b/docs/source/release/v3.13.0/framework.rst index 536b6d28805af696511017e71b13c97ad53f3be9..8f241f525fe47d6a5cb65272bf81fda6b5741012 100644 --- a/docs/source/release/v3.13.0/framework.rst +++ b/docs/source/release/v3.13.0/framework.rst @@ -51,6 +51,7 @@ Bug fixes - The documentation of the algorithm :ref:`algm-CreateSampleWorkspace` did not match its implementation. The axis in beam direction will now be correctly described as Z instead of X. - The :ref:`ExtractMask <algm-ExtractMask>` algorithm now returns a non-empty list of detector ID's when given a MaskWorkspace. - Fixed a crash when the input workspace for :ref:`GroupDetectors <algm-GroupDetectors>` contained any other units than spectrum numbers. +- :ref:`ConvertToMD <algm-ConvertToMD>` can now be used with workspaces that aren't in the ADS. - Fixed :ref:`SumSpectra <algm-SumSpectra>` to avoid a crash when validation of inputs was called with a WorkspaceGroup. :ref:`Release 3.13.0 <v3.13.0>`