Skip to content
Snippets Groups Projects
Unverified Commit 5f572c5a authored by Xavier Robin's avatar Xavier Robin
Browse files

Add missing definitions

parent 9f307d73
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment