Skip to content
Snippets Groups Projects
Commit 358dcbe8 authored by B13nch3n's avatar B13nch3n
Browse files

SCHWED-4847: Export the entity branch map

parent 9ae8c88c
Branches
Tags
No related merge requests found
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include <boost/python.hpp> #include <boost/python.hpp>
#include <boost/shared_ptr.hpp> #include <boost/shared_ptr.hpp>
#include <boost/python/suite/indexing/vector_indexing_suite.hpp> #include <boost/python/suite/indexing/vector_indexing_suite.hpp>
#include <boost/python/suite/indexing/map_indexing_suite.hpp>
using namespace boost::python; using namespace boost::python;
#include <ost/export_helper/pair_to_tuple_conv.hh> #include <ost/export_helper/pair_to_tuple_conv.hh>
...@@ -344,7 +345,11 @@ void export_mmcif_io() ...@@ -344,7 +345,11 @@ void export_mmcif_io()
.add_property("atom2", &MMCifInfoEntityBranch::GetAtom2, .add_property("atom2", &MMCifInfoEntityBranch::GetAtom2,
&MMCifInfoEntityBranch::SetAtom2) &MMCifInfoEntityBranch::SetAtom2)
; ;
class_<MMCifInfoEntityBranchMap>("MMCifInfoEntityBranchMap", init<>())
.def(map_indexing_suite<MMCifInfoEntityBranchMap>())
;
class_<MMCifInfo>("MMCifInfo", init<>()) class_<MMCifInfo>("MMCifInfo", init<>())
.def("AddCitation", &MMCifInfo::AddCitation) .def("AddCitation", &MMCifInfo::AddCitation)
.def("GetCitations", make_function(&MMCifInfo::GetCitations, .def("GetCitations", make_function(&MMCifInfo::GetCitations,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment