projects
/
mussa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
translate KeyError too
[mussa.git]
/
py
/
module.cpp
diff --git
a/py/module.cpp
b/py/module.cpp
index 84564273e81e6862f1865ec22e0cd33675579aa3..f9e6b4fdc339b1d2c5ca0916f234055ba77bc397 100644
(file)
--- a/
py/module.cpp
+++ b/
py/module.cpp
@@
-1,10
+1,10
@@
-#include <boost/python.hpp>
#include "stl_container_adapter.hpp"
#include "stl_container_adapter.hpp"
-using namespace boost::python;
+#include <boost/python.hpp>
void export_alphabet();
void export_annot();
void export_annotation_colors();
void export_alphabet();
void export_annot();
void export_annotation_colors();
+void export_container_exceptions();
void export_conserved_path();
void export_flps();
void export_glsequence();
void export_conserved_path();
void export_flps();
void export_glsequence();
@@
-16,8
+16,7
@@
void export_mussa_window();
BOOST_PYTHON_MODULE(mussa)
{
BOOST_PYTHON_MODULE(mussa)
{
- boost::python::register_exception_translator<IndexError>(&translate);
-
+ export_container_exceptions();
export_alphabet();
export_annot();
export_annotation_colors();
export_alphabet();
export_annot();
export_annotation_colors();