Start wrapping seq_span
[mussa.git] / py / module.cpp
index 1c6082551f6c5788371317f1f3b9fb48d7145b0f..84564273e81e6862f1865ec22e0cd33675579aa3 100644 (file)
@@ -1,6 +1,8 @@
 #include <boost/python.hpp>
+#include "stl_container_adapter.hpp"
 using namespace boost::python;
 
+void export_alphabet();
 void export_annot();
 void export_annotation_colors();
 void export_conserved_path();
@@ -8,18 +10,22 @@ void export_flps();
 void export_glsequence();
 void export_mussa();
 void export_nway_paths();
+void export_seq_span();
 void export_sequence();
 void export_mussa_window();
 
 BOOST_PYTHON_MODULE(mussa)
 {
+  boost::python::register_exception_translator<IndexError>(&translate);
+
+  export_alphabet();
   export_annot();
   export_annotation_colors();
   export_conserved_path();
   export_flps();
+  export_seq_span();
+  export_sequence();
   export_glsequence();
   export_mussa();
   export_nway_paths();
-  export_sequence();
-  //export_mussa_window();
 }