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

export ChainBase.type as property

parent e7536c15
No related branches found
No related tags found
No related merge requests found
...@@ -63,6 +63,8 @@ void export_Chain() ...@@ -63,6 +63,8 @@ void export_Chain()
.add_property("is_polynucleotide", &ChainBase::IsPolynucleotide) .add_property("is_polynucleotide", &ChainBase::IsPolynucleotide)
.add_property("is_polysaccharide", &ChainBase::IsPolysaccharide) .add_property("is_polysaccharide", &ChainBase::IsPolysaccharide)
.add_property("is_polymer", &ChainBase::IsPolymer) .add_property("is_polymer", &ChainBase::IsPolymer)
.add_property("type", &ChainBase::GetType)
.add_property("description", &ChainBase::GetDescription)
; ;
generic_prop_def<ChainBase>(chain_base); generic_prop_def<ChainBase>(chain_base);
class_<ChainHandle, bases<ChainBase> >("ChainHandle", init<>()) class_<ChainHandle, bases<ChainBase> >("ChainHandle", init<>())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment