diff --git a/Framework/Algorithms/src/MaskBinsIf.cpp b/Framework/Algorithms/src/MaskBinsIf.cpp index 898895c2913c2a28d43b74c093ebe6b06c140b2c..46f49a021701d771245cd7c98bfe8170d6b8b748 100644 --- a/Framework/Algorithms/src/MaskBinsIf.cpp +++ b/Framework/Algorithms/src/MaskBinsIf.cpp @@ -115,7 +115,7 @@ void MaskBinsIf::exec() { e = it->countStandardDeviation(); dx = hasDx ? it->centerError() : 0.; if (parser.Eval() != 0.) { - outputWorkspace->flagMasked(index, bin); + outputWorkspace->maskBin(index, bin); } } progress->report(); diff --git a/Framework/PythonInterface/mantid/api/src/Exports/MatrixWorkspace.cpp b/Framework/PythonInterface/mantid/api/src/Exports/MatrixWorkspace.cpp index 97946fea7b7caed0ddf8dfa2aa32d11ede12d96d..4eb12c636316b1ae156e3c18193974b1cd493928 100644 --- a/Framework/PythonInterface/mantid/api/src/Exports/MatrixWorkspace.cpp +++ b/Framework/PythonInterface/mantid/api/src/Exports/MatrixWorkspace.cpp @@ -187,11 +187,10 @@ Mantid::API::Run &getSampleDetailsDeprecated(MatrixWorkspace &self) { } /** - * @brief maskedBinsIndices This is an anonymous wrapper around the homonym - * method of MatrixWorkspace. This takes int as argument and returns a vector of - * ints to python, unlike the C++ size_t, since python does not speak unsigned + * This is an anonymous wrapper around the homonym method of MatrixWorkspace. + * This takes int as argument since python does not speak unsigned. * @param self - * @param i : workspace index + * @param i : workspace index [int] * @return bin indices of masked bins at the workspace index given */ std::vector<size_t> maskedBinsIndices(MatrixWorkspace &self, const int i) { diff --git a/docs/source/algorithms/MaskBinsIf-v1.rst b/docs/source/algorithms/MaskBinsIf-v1.rst index 7157b5a3a676bdfcccb8684450f49cdbd75dd219..c7abb846c31e6532b4e7ca8fa29b63d577e4e30c 100644 --- a/docs/source/algorithms/MaskBinsIf-v1.rst +++ b/docs/source/algorithms/MaskBinsIf-v1.rst @@ -19,8 +19,6 @@ The variables entering the criteria are reserved as follows: - dx : the error on the bin center - s : the value of spectrum axis, which has to be SpectraAxis or NumericAxis. -Note that it preserves the data in the masked bins, just flags them as masked. - Usage -----