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

export missing default argument for AligmentHandle.ToString

parent 596c72d2
Branches
Tags
No related merge requests found
......@@ -80,6 +80,9 @@ ConstSequenceList do_slice_a(ConstSequenceList& t, slice sl)
{
return do_slice<ConstSequenceList>(t, sl);
}
String aln_to_str(const AlignmentHandle& aln) {
return aln.ToString();
}
SequenceList do_slice_b(SequenceList& t, slice sl)
{
......@@ -347,7 +350,8 @@ void export_sequence()
.def("FindSequence", &AlignmentHandle::FindSequence)
.def("FindSequenceIndex", &AlignmentHandle::FindSequenceIndex)
.def("Copy", &AlignmentHandle::Copy)
.def("ToString", &AlignmentHandle::ToString)
.def("ToString", &AlignmentHandle::ToString, (arg("width")=80))
.def("__str__", aln_to_str)
.def("GetLength", &AlignmentHandle::GetLength)
.def("__len__", &AlignmentHandle::GetLength)
.def("GetSequences", &AlignmentHandle::GetSequences)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment