From 65f74d54e60336f1aeb1b3b736e97ae9c9626b62 Mon Sep 17 00:00:00 2001 From: Peter Peterson Date: Wed, 26 Feb 2014 09:42:55 -0500 Subject: [PATCH] Re #8943. Removing old form of workspace registration in python. --- .../mantid/api/src/Exports/IMaskWorkspace.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Code/Mantid/Framework/PythonInterface/mantid/api/src/Exports/IMaskWorkspace.cpp b/Code/Mantid/Framework/PythonInterface/mantid/api/src/Exports/IMaskWorkspace.cpp index 247b36393cbf..5596ebc9afd5 100644 --- a/Code/Mantid/Framework/PythonInterface/mantid/api/src/Exports/IMaskWorkspace.cpp +++ b/Code/Mantid/Framework/PythonInterface/mantid/api/src/Exports/IMaskWorkspace.cpp @@ -1,7 +1,4 @@ #include "MantidAPI/IMaskWorkspace.h" -#include "MantidPythonInterface/kernel/SharedPtrToPythonMacro.h" -#include "MantidPythonInterface/kernel/Registry/RegisterSingleValueHandler.h" - #include using Mantid::API::IMaskWorkspace; @@ -11,12 +8,8 @@ using namespace boost::python; /** Python exports of the Mantid::API::IMaskWorkspace class. */ void export_IMaskWorkspace() { - REGISTER_SHARED_PTR_TO_PYTHON(IMaskWorkspace); - class_("IMaskWorkspace", no_init) .def("getNumberMasked", &IMaskWorkspace::getNumberMasked, args("self"), "Total number of masked pixels") ; - - REGISTER_SINGLEVALUE_HANDLER(IMaskWorkspace_sptr); }