diff --git a/modules/mol/base/pymod/export_residue.cc b/modules/mol/base/pymod/export_residue.cc index 02f2c845795b020056c670d57512abad08609f3c..a8d652217a256b7f28cd9d89b2301b4a72d17d31 100644 --- a/modules/mol/base/pymod/export_residue.cc +++ b/modules/mol/base/pymod/export_residue.cc @@ -275,8 +275,10 @@ void export_Residue() .def(self==self) .def(self!=self) .def("__hash__", &ResidueHandle::GetHashCode) + .def("GetHashCode", &ResidueHandle::GetHashCode) .def("GetBounds", &ResidueHandle::GetBounds) - .add_property("bounds", &ResidueHandle::GetBounds) + .add_property("bounds", &ResidueHandle::GetBounds) + .add_property("hash_code", &ResidueHandle::GetHashCode) ; class_<ResidueHandleList>("ResidueHandleList", no_init)