Skip to content

Commit 93e6f3e

Browse files
Merge pull request #37869 from mantidproject/31258_RecordPythonScript
Remove RecordPythonScript algorithm
2 parents 28243b0 + 688387a commit 93e6f3e

File tree

8 files changed

+3
-248
lines changed

8 files changed

+3
-248
lines changed

Framework/Algorithms/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,6 @@ set(SRC_FILES
263263
src/RebinRagged2.cpp
264264
src/RebinToWorkspace.cpp
265265
src/Rebunch.cpp
266-
src/RecordPythonScript.cpp
267266
src/Regroup.cpp
268267
src/RemoveBackground.cpp
269268
src/RemoveBins.cpp
@@ -618,7 +617,6 @@ set(INC_FILES
618617
inc/MantidAlgorithms/RebinRagged2.h
619618
inc/MantidAlgorithms/RebinToWorkspace.h
620619
inc/MantidAlgorithms/Rebunch.h
621-
inc/MantidAlgorithms/RecordPythonScript.h
622620
inc/MantidAlgorithms/Regroup.h
623621
inc/MantidAlgorithms/RemoveBackground.h
624622
inc/MantidAlgorithms/RemoveBins.h

Framework/Algorithms/inc/MantidAlgorithms/GenerateIPythonNotebook.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class MANTID_ALGORITHMS_DLL GenerateIPythonNotebook final : public API::Algorith
3535

3636
/// Algorithm's version for identification
3737
int version() const override { return 1; };
38-
const std::vector<std::string> seeAlso() const override { return {"RecordPythonScript", "GeneratePythonScript"}; }
38+
const std::vector<std::string> seeAlso() const override { return {"GeneratePythonScript"}; }
3939
/// Algorithm's category for identification
4040
const std::string category() const override { return "Utility\\Python"; }
4141

Framework/Algorithms/inc/MantidAlgorithms/GeneratePythonScript.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class MANTID_ALGORITHMS_DLL GeneratePythonScript : public API::Algorithm {
3838

3939
/// Algorithm's version for identification
4040
int version() const override { return 1; };
41-
const std::vector<std::string> seeAlso() const override { return {"RecordPythonScript", "GenerateIPythonNotebook"}; }
41+
const std::vector<std::string> seeAlso() const override { return {"GenerateIPythonNotebook"}; }
4242
/// Algorithm's category for identification
4343
const std::string category() const override { return "Utility\\Python"; }
4444

Framework/Algorithms/inc/MantidAlgorithms/RecordPythonScript.h

Lines changed: 0 additions & 62 deletions
This file was deleted.

Framework/Algorithms/src/RecordPythonScript.cpp

Lines changed: 0 additions & 103 deletions
This file was deleted.

buildconfig/CMake/CppCheck_Suppressions.txt.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,6 @@ missingOverride:${CMAKE_SOURCE_DIR}/Framework/Algorithms/inc/MantidAlgorithms/PD
286286
uninitMemberVarPrivate:${CMAKE_SOURCE_DIR}/Framework/Algorithms/inc/MantidAlgorithms/NormaliseToMonitor.h:114
287287
constVariableReference:${CMAKE_SOURCE_DIR}/Framework/Algorithms/src/MergeRuns.cpp:292
288288
constVariableReference:${CMAKE_SOURCE_DIR}/Framework/Algorithms/src/MergeRuns.cpp:679
289-
constVariableReference:${CMAKE_SOURCE_DIR}/Framework/Algorithms/src/RecordPythonScript.cpp:83
290289
knownConditionTrueFalse:${CMAKE_SOURCE_DIR}/Framework/Algorithms/src/PaalmanPingsAbsorptionCorrection.cpp:452
291290
constParameterReference:${CMAKE_SOURCE_DIR}/Framework/Algorithms/src/PolarizationCorrectionFredrikze.cpp:138
292291
constParameterReference:${CMAKE_SOURCE_DIR}/Framework/Algorithms/src/PolarizationCorrectionFredrikze.cpp:155

docs/source/algorithms/RecordPythonScript-v1.rst

Lines changed: 0 additions & 78 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- The RecordPythonScript algorithm was deprecated in :ref:`Release 5.1.0 <v5.1.0>` and has now been removed. Use :ref:`GeneratePythonScript<algm-generatepythonscript>` instead.

0 commit comments

Comments
 (0)