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

Merge branch 'develop' into mm

parents bd8e29ac 68a43c51
No related branches found
No related tags found
No related merge requests found
...@@ -61,6 +61,8 @@ BOOST_PYTHON_MODULE(_ost_seq_alg) ...@@ -61,6 +61,8 @@ BOOST_PYTHON_MODULE(_ost_seq_alg)
class_<SubstWeightMatrix, SubstWeightMatrixPtr>("SubstWeightMatrix", init<>()) class_<SubstWeightMatrix, SubstWeightMatrixPtr>("SubstWeightMatrix", init<>())
.def("GetWeight", &SubstWeightMatrix::GetWeight) .def("GetWeight", &SubstWeightMatrix::GetWeight)
.def("SetWeight", &SubstWeightMatrix::SetWeight) .def("SetWeight", &SubstWeightMatrix::SetWeight)
.def("GetMinWeight", &SubstWeightMatrix::GetMinWeight)
.def("GetMaxWeight", &SubstWeightMatrix::GetMaxWeight)
; ;
def("MergePairwiseAlignments", &MergePairwiseAlignments); def("MergePairwiseAlignments", &MergePairwiseAlignments);
......
...@@ -65,10 +65,10 @@ public: ...@@ -65,10 +65,10 @@ public:
} }
/// \brief Get the minimal substitution weight of the matrix /// \brief Get the minimal substitution weight of the matrix
WeightType GetMinWeight() { return min_weight_; } WeightType GetMinWeight() const { return min_weight_; }
/// \brief Get the maximal substitution weight of the matrix /// \brief Get the maximal substitution weight of the matrix
WeightType GetMaxWeight() { return max_weight_; } WeightType GetMaxWeight() const { return max_weight_; }
/// \brief Set the substitution weight between two amino acids /// \brief Set the substitution weight between two amino acids
/// ///
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment