Skip to content

Commit

Permalink
Re #8943. Removing old form of workspace registration in python.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterfpeterson committed Apr 3, 2014
1 parent 99ded40 commit 65f74d5
Showing 1 changed file with 0 additions and 7 deletions.
@@ -1,7 +1,4 @@
#include "MantidAPI/IMaskWorkspace.h"
#include "MantidPythonInterface/kernel/SharedPtrToPythonMacro.h"
#include "MantidPythonInterface/kernel/Registry/RegisterSingleValueHandler.h"

#include <boost/python/class.hpp>

using Mantid::API::IMaskWorkspace;
Expand All @@ -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, boost::noncopyable>("IMaskWorkspace", no_init)
.def("getNumberMasked", &IMaskWorkspace::getNumberMasked, args("self"),
"Total number of masked pixels")
;

REGISTER_SINGLEVALUE_HANDLER(IMaskWorkspace_sptr);
}

0 comments on commit 65f74d5

Please sign in to comment.