Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#include "MantidAPI/Algorithm.h"
#include "MantidAPI/CompositeFunction.h"
#include "MantidAPI/DeprecatedAlgorithm.h"
#include "MantidAPI/IMDEventWorkspace_fwd.h"
#include "MantidDataObjects/MDEventWorkspace.h"
#include "MantidDataObjects/PeaksWorkspace.h"
Expand All @@ -22,8 +23,10 @@ namespace MDAlgorithms {
* @author Janik Zikovsky
* @date 2011-04-13 18:11:53.496539
*/
class MANTID_MDALGORITHMS_DLL IntegratePeaksMD final : public API::Algorithm {
class MANTID_MDALGORITHMS_DLL IntegratePeaksMD final : public API::Algorithm, public API::DeprecatedAlgorithm {
public:
/// Default constructor
IntegratePeaksMD();
/// Algorithm's name for identification
const std::string name() const override { return "IntegratePeaksMD"; };
/// Summary of algorithms purpose
Expand Down
6 changes: 6 additions & 0 deletions Framework/MDAlgorithms/src/IntegratePeaksMD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ using namespace Mantid::DataObjects;
using namespace Mantid::Geometry;
using namespace Mantid::HistogramData;

/// Default constructor
IntegratePeaksMD::IntegratePeaksMD() {
useAlgorithm("IntegratePeaksMD", 2);
deprecatedDate("2025-05-05");
}

/** Initialize the algorithm's properties.
*/
void IntegratePeaksMD::init() {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- :ref:`algm-IntegratePeaksMD-v1` has been deprecated, use :ref:`algm-IntegratePeaksMD-v2` instead.