diff --git a/modules/base/pymod/__init__.py.in b/modules/base/pymod/__init__.py.in index a57b7aedd199eac8e763fe6303594fea7c9c50d7..63cd09716539bc2b3882cf7c8fd449db7dba4691 100644 --- a/modules/base/pymod/__init__.py.in +++ b/modules/base/pymod/__init__.py.in @@ -18,7 +18,7 @@ #------------------------------------------------------------------------------ -__all__=['Correl', 'FileLogSink', 'FloatList', 'FloatMatrix', 'GetCurrentLogSink', 'GetPrefixPath', 'GetSharedDataPath', 'GetVerbosityLevel', 'Histogram', 'IntList', 'LogDebug', 'LogError', 'LogInfo', 'LogScript', 'LogSink', 'LogTrace', 'LogVerbose', 'LogWarning', 'Max', 'Mean', 'Median', 'Min', 'MultiLogSink', 'PopLogSink', 'PopVerbosityLevel', 'PushLogSink', 'PushVerbosityLevel', 'Range', 'SetPrefixPath', 'StdDev', 'StreamLogSink', 'StringList', 'StringLogSink', 'Units', 'VERSION', 'VERSION_MAJOR', 'VERSION_MINOR', 'VERSION_PATCH', 'WITH_NUMPY', 'conop', 'geom', 'io', 'mol', 'seq', 'stutil' @ALL_ADDITIONAL_MODULES@] +__all__=['CharList','Correl', 'FileLogSink', 'FloatList', 'FloatMatrix', 'GetCurrentLogSink', 'GetPrefixPath', 'GetSharedDataPath', 'GetVerbosityLevel', 'Histogram', 'IntList', 'LogDebug', 'LogError', 'LogInfo', 'LogScript', 'LogSink', 'LogTrace', 'LogVerbose', 'LogWarning', 'Max', 'Mean', 'Median', 'Min', 'MultiLogSink', 'PopLogSink', 'PopVerbosityLevel', 'PushLogSink', 'PushVerbosityLevel', 'Range', 'SetPrefixPath', 'StdDev', 'StreamLogSink', 'StringList', 'StringLogSink', 'Units', 'VERSION', 'VERSION_MAJOR', 'VERSION_MINOR', 'VERSION_PATCH', 'WITH_NUMPY', 'conop', 'geom', 'io', 'mol', 'seq', 'stutil' @ALL_ADDITIONAL_MODULES@] from _ost_base import * from stutil import * diff --git a/modules/base/pymod/wrap_base.cc b/modules/base/pymod/wrap_base.cc index 835bc8e51e1ea4ba6b2426cd2cf2208bbf1ad9bb..f142790dc67884950ec6d33217f8659b29839adc 100644 --- a/modules/base/pymod/wrap_base.cc +++ b/modules/base/pymod/wrap_base.cc @@ -104,6 +104,10 @@ BOOST_PYTHON_MODULE(_ost_base) class_<std::vector<String> >("StringList", init<>()) .def(vector_indexing_suite<std::vector<String>, true>()) ; + + class_<std::vector<char> >("CharList", init<>()) + .def(vector_indexing_suite<std::vector<char>, true>()) + ; typedef std::vector<int> IntList; class_<std::vector<int> >("IntList", init<>())