Skip to content
Snippets Groups Projects
Commit be608382 authored by Marco Biasini's avatar Marco Biasini
Browse files

export GetMatchingBackboneViews

parent 51fd1ebc
Branches
Tags
No related merge requests found
......@@ -215,4 +215,6 @@ void export_EntityView()
class_<EntityViewList>("EntityViewList", init<>())
.def(vector_indexing_suite<EntityViewList>())
;
to_python_converter<std::pair<EntityView, EntityView>,
PairToTupleConverter<EntityView, EntityView> >();
}
......@@ -334,9 +334,6 @@ void export_sequence()
class_<SeqListIter>("SeqListIter", no_init)
.def("next", &SeqListIter::next)
;
to_python_converter<std::pair<mol::EntityView, mol::EntityView>,
PairToTupleConverter<mol::EntityView, mol::EntityView> >();
class_<AlignmentHandle>("AlignmentHandle", init<>())
.def("GetCount", &AlignmentHandle::GetCount)
.add_property("sequence_count", &AlignmentHandle::GetCount)
......@@ -345,6 +342,8 @@ void export_sequence()
.def("GetResidueIndex", &AlignmentHandle::GetResidueIndex)
.def("GetResidue", &AlignmentHandle::GetResidue)
.def("AddSequence", &AlignmentHandle::AddSequence)
.def("GetMatchingBackboneViews", &AlignmentHandle::GetMatchingBackboneViews,
(arg("idx_a")=0, arg("idx_b")=1))
.def("FindSequence", &AlignmentHandle::FindSequence)
.def("FindSequenceIndex", &AlignmentHandle::FindSequenceIndex)
.def("Copy", &AlignmentHandle::Copy)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment