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 ...@@ -932,6 +932,16 @@ Residue Handle
See :attr:`chain` See :attr:`chain`
.. method:: GetChemClass()
SetChemClass()
See :attr:`chem_class`
.. method:: GetChemType()
SetChemType()
See :attr:`chem_type`
.. method:: GetPhiTorsion() .. method:: GetPhiTorsion()
See :attr:`phi_torsion` See :attr:`phi_torsion`
...@@ -2175,7 +2185,9 @@ Residue View ...@@ -2175,7 +2185,9 @@ Residue View
GetPsiTorsion GetPsiTorsion
GetOmegaTorsion GetOmegaTorsion
GetChemClass GetChemClass
SetChemClass
GetChemType GetChemType
SetChemType
GetSecStructure GetSecStructure
IsLigand IsLigand
SetIsLigand SetIsLigand
......
...@@ -225,7 +225,8 @@ void export_Residue() ...@@ -225,7 +225,8 @@ void export_Residue()
.add_property("chem_class", &ResidueBase::GetChemClass, set_chemclass) .add_property("chem_class", &ResidueBase::GetChemClass, set_chemclass)
.def("SetChemClass", set_chemclass) .def("SetChemClass", set_chemclass)
.def("GetChemType", &ResidueBase::GetChemType) .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) .add_property("is_ligand", &ResidueBase::IsLigand, &ResidueBase::SetIsLigand)
.def("IsLigand", &ResidueBase::IsLigand) .def("IsLigand", &ResidueBase::IsLigand)
.def("SetIsLigand", &ResidueBase::SetIsLigand, arg("ligand")) .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