Skip to content
Snippets Groups Projects
Commit 4d2bc033 authored by Studer Gabriel's avatar Studer Gabriel
Browse files

Python export for GetHashCode in ResidueHandle

parent 77f56583
Branches
Tags
No related merge requests found
...@@ -275,8 +275,10 @@ void export_Residue() ...@@ -275,8 +275,10 @@ void export_Residue()
.def(self==self) .def(self==self)
.def(self!=self) .def(self!=self)
.def("__hash__", &ResidueHandle::GetHashCode) .def("__hash__", &ResidueHandle::GetHashCode)
.def("GetHashCode", &ResidueHandle::GetHashCode)
.def("GetBounds", &ResidueHandle::GetBounds) .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) class_<ResidueHandleList>("ResidueHandleList", no_init)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment