Skip to content
Snippets Groups Projects
Commit d82d9332 authored by Gerardo Tauriello's avatar Gerardo Tauriello
Browse files

Allow Python use of str() for ChemClass.

parent 9d2841c8
No related branches found
No related tags found
No related merge requests found
......@@ -68,6 +68,7 @@ void export_Residue()
class_<ChemClass>("ChemClass", init<char>(args("chem_class")))
.def(self!=self)
.def(self==self)
.def(self_ns::str(self))
.def("IsPeptideLinking", &ChemClass::IsPeptideLinking)
.def("IsNucleotideLinking", &ChemClass::IsNucleotideLinking)
;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment