diff --git a/modules/mol/base/pymod/export_atom_view.cc b/modules/mol/base/pymod/export_atom_view.cc index 5af079a4477e6b9d5ac828460326b7b69bd473e9..f4279bd58d56ffa90a7026dfd902f78a2b368884 100644 --- a/modules/mol/base/pymod/export_atom_view.cc +++ b/modules/mol/base/pymod/export_atom_view.cc @@ -43,16 +43,16 @@ void export_AtomView() .add_property("chain",get_chain) .def(self==self) .def(self!=self) - .add_property("handle", &AtomView::GetHandle) .def("RemoveBonds", &AtomView::RemoveBonds) .def("GetHandle", &AtomView::GetHandle) + .add_property("handle", &AtomView::GetHandle) .def("GetBondCount", &AtomView::GetBondCount) - .add_property("valid", &AtomView::IsValid) .def("GetBondList", &AtomView::GetBondList) .def("GetHashCode", &AtomView::GetHashCode) - .def("IsValid", &AtomView::IsValid) .def("__hash__", &AtomView::GetHashCode) .add_property("hash_code", &AtomView::GetHashCode) + .def("IsValid", &AtomView::IsValid) + .add_property("valid", &AtomView::IsValid) .def("GetBondPartners", &AtomView::GetBondPartners) ; class_<AtomViewList>("AtomViewList", init<>())