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); }