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

readd SubstWeightMatrix export

Note to self: Don't commit anything before 8 in the morning!


git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2506 5a81b35b-ba03-0410-adc8-b2c5c5119f08
parent cadd663c
No related branches found
No related tags found
No related merge requests found
......@@ -23,6 +23,7 @@
#include <ost/seq/alg/sequence_identity.hh>
#include <ost/seq/alg/ins_del.hh>
#include <ost/seq/alg/conservation.hh>
#include <ost/seq/alg/subst_weight_matrix.hh>
using namespace boost::python;
using namespace ost::seq;
using namespace ost::seq::alg;
......@@ -44,6 +45,11 @@ BOOST_PYTHON_MODULE(_seq_alg)
.def("GetDeletions", &InsDel::GetDeletions)
.def("GetInsertions", &InsDel::GetInsertions)
;
class_<SubstWeightMatrix, SubstWeightMatrixPtr>("SubstWeightMatrix", init<>())
.def("GetWeight", &SubstWeightMatrix::GetWeight)
.def("SetWeight", &SubstWeightMatrix::SetWeight)
;
def("MergePairwiseAlignments", &MergePairwiseAlignments);
def("Conservation", &Conservation, (arg("assign")=true, arg("prop_name")="cons"));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment