Skip to content

Commit 77122aa

Browse files
Deprecate IntegratePeaksCWSD (#39303)
Sibling PR of [39297](#39297)
1 parent 36ba7f2 commit 77122aa

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

Framework/MDAlgorithms/inc/MantidMDAlgorithms/IntegratePeaksCWSD.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
#include "MantidAPI/Algorithm.h"
1010
#include "MantidAPI/CompositeFunction.h"
11+
#include "MantidAPI/DeprecatedAlgorithm.h"
1112
#include "MantidAPI/IMDEventWorkspace_fwd.h"
1213
#include "MantidDataObjects/MDEventWorkspace.h"
1314
#include "MantidDataObjects/MaskWorkspace.h"
@@ -22,7 +23,7 @@ namespace MDAlgorithms {
2223
* @author Janik Zikovsky
2324
* @date 2011-04-13 18:11:53.496539
2425
*/
25-
class MANTID_MDALGORITHMS_DLL IntegratePeaksCWSD final : public API::Algorithm {
26+
class MANTID_MDALGORITHMS_DLL IntegratePeaksCWSD final : public API::Algorithm, public API::DeprecatedAlgorithm {
2627
public:
2728
IntegratePeaksCWSD();
2829

Framework/MDAlgorithms/src/IntegratePeaksCWSD.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ const signal_t THRESHOLD_SIGNAL = 0;
3232
*/
3333
IntegratePeaksCWSD::IntegratePeaksCWSD()
3434
: m_haveMultipleRun(false), m_useSinglePeakCenterFmUser(false), m_peakRadius(), m_doMergePeak(false),
35-
m_normalizeByMonitor(false), m_normalizeByTime(false), m_scaleFactor(0), m_haveInputPeakWS(false) {}
35+
m_normalizeByMonitor(false), m_normalizeByTime(false), m_scaleFactor(0), m_haveInputPeakWS(false) {
36+
deprecatedDate("2025-05-07");
37+
}
3638

3739
/** Initialize the algorithm's properties.
3840
*/
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- :ref:`IntegratePeaksCWSD <algm-IntegratePeaksCWSD>` has been deprecated. There is no replacement.

0 commit comments

Comments
 (0)