Skip to content
Snippets Groups Projects
Verified Commit dc952093 authored by Xavier Robin's avatar Xavier Robin
Browse files

Expose SetChemType + doc

parent 127b400f
Branches
Tags
No related merge requests found
......@@ -932,6 +932,16 @@ Residue Handle
See :attr:`chain`
.. method:: GetChemClass()
SetChemClass()
See :attr:`chem_class`
.. method:: GetChemType()
SetChemType()
See :attr:`chem_type`
.. method:: GetPhiTorsion()
See :attr:`phi_torsion`
......@@ -2175,7 +2185,9 @@ Residue View
GetPsiTorsion
GetOmegaTorsion
GetChemClass
SetChemClass
GetChemType
SetChemType
GetSecStructure
IsLigand
SetIsLigand
......
......@@ -225,7 +225,8 @@ void export_Residue()
.add_property("chem_class", &ResidueBase::GetChemClass, set_chemclass)
.def("SetChemClass", set_chemclass)
.def("GetChemType", &ResidueBase::GetChemType)
.add_property("chem_type", &ResidueBase::GetChemType)
.add_property("chem_type", &ResidueBase::GetChemType, &ResidueBase::SetChemType)
.def("SetChemType", &ResidueBase::SetChemType)
.add_property("is_ligand", &ResidueBase::IsLigand, &ResidueBase::SetIsLigand)
.def("IsLigand", &ResidueBase::IsLigand)
.def("SetIsLigand", &ResidueBase::SetIsLigand, arg("ligand"))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment