diff --git a/modules/mol/base/pymod/export_atom_view.cc b/modules/mol/base/pymod/export_atom_view.cc index f4279bd58d56ffa90a7026dfd902f78a2b368884..9f3d4556d579d73089fae3fdd1362bdf1168ddff 100644 --- a/modules/mol/base/pymod/export_atom_view.cc +++ b/modules/mol/base/pymod/export_atom_view.cc @@ -39,6 +39,8 @@ void export_AtomView() class_<AtomView, bases<AtomBase> >("AtomView", init<>()) .def("GetResidue",&AtomView::GetResidue) .add_property("residue",&AtomView::GetResidue) + .def("GetEntity",&AtomView::GetEntity) + .add_property("entity",&AtomView::GetEntity) .def("GetChain",get_chain) .add_property("chain",get_chain) .def(self==self) @@ -48,6 +50,7 @@ void export_AtomView() .add_property("handle", &AtomView::GetHandle) .def("GetBondCount", &AtomView::GetBondCount) .def("GetBondList", &AtomView::GetBondList) + .add_property("bonds", &AtomView::GetBondList) .def("GetHashCode", &AtomView::GetHashCode) .def("__hash__", &AtomView::GetHashCode) .add_property("hash_code", &AtomView::GetHashCode)