Skip to content
Snippets Groups Projects
Commit c2162804 authored by marco's avatar marco
Browse files

add __getitem__ to AlignedRegion

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@1910 5a81b35b-ba03-0410-adc8-b2c5c5119f08
parent 25b652be
No related branches found
No related tags found
No related merge requests found
......@@ -183,6 +183,7 @@ void export_sequence()
.def("GetMaster", &AlignedRegion::GetMaster)
.add_property("master", &AlignedRegion::GetMaster,
&AlignedRegion::SetMaster)
.def("__getitem__", &AlignedRegion::operator[])
.def("__len__", &AlignedRegion::GetLength)
.def("__iter__", iterator<AlignedRegion>())
.add_property("start", &AlignedRegion::GetStart)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment