From ffe2db55efc82a594d49e2c541da397fe99be423 Mon Sep 17 00:00:00 2001
From: Roman Tolchenov <roman.tolchenov@stfc.ac.uk>
Date: Wed, 14 Oct 2015 16:38:27 +0100
Subject: [PATCH] Re #11035. Fixed python exports.

---
 .../mantid/api/src/Exports/InstrumentValidator.cpp         | 2 +-
 .../mantid/api/src/Exports/WorkspaceValidators.cpp         | 7 ++++++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/Framework/PythonInterface/mantid/api/src/Exports/InstrumentValidator.cpp b/Framework/PythonInterface/mantid/api/src/Exports/InstrumentValidator.cpp
index b4985d71e60..651b725701c 100644
--- a/Framework/PythonInterface/mantid/api/src/Exports/InstrumentValidator.cpp
+++ b/Framework/PythonInterface/mantid/api/src/Exports/InstrumentValidator.cpp
@@ -1,4 +1,4 @@
-#include "MantidAPI/WorkspaceValidators.h"
+#include "MantidAPI/InstrumentValidator.h"
 #include "MantidPythonInterface/kernel/TypedValidatorExporter.h"
 #include <boost/python/class.hpp>
 
diff --git a/Framework/PythonInterface/mantid/api/src/Exports/WorkspaceValidators.cpp b/Framework/PythonInterface/mantid/api/src/Exports/WorkspaceValidators.cpp
index 7bb9257a076..898b1032bfd 100644
--- a/Framework/PythonInterface/mantid/api/src/Exports/WorkspaceValidators.cpp
+++ b/Framework/PythonInterface/mantid/api/src/Exports/WorkspaceValidators.cpp
@@ -1,4 +1,9 @@
-#include "MantidAPI/WorkspaceValidators.h" // They are all defined in one file so export them in one
+#include "MantidAPI/CommonBinsValidator.h"
+#include "MantidAPI/HistogramValidator.h"
+#include "MantidAPI/NumericAxisValidator.h"
+#include "MantidAPI/RawCountValidator.h"
+#include "MantidAPI/SpectraAxisValidator.h"
+#include "MantidAPI/WorkspaceUnitValidator.h"
 #include "MantidPythonInterface/kernel/TypedValidatorExporter.h"
 #include <boost/python/class.hpp>
 
-- 
GitLab