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

export is_nucleotide attribute for residues

parent 85fb9022
No related branches found
No related tags found
No related merge requests found
......@@ -701,6 +701,13 @@ The Handle Classes
:type: :class:`bool`
.. attribute:: nucleotide_linking
Whether residue can form nucleotide bonds. This is determined based on
:attr:`chem_class` which is set when loading the structure.
:type: :class:`bool`
.. attribute:: index
Residue index (starting at 0) within chain.
......@@ -797,6 +804,10 @@ The Handle Classes
.. method:: IsPeptideLinking()
See :attr:`peptide_linking`
.. method:: IsNucleotideLinking()
See :attr:`nucleotide_linking`
.. method:: GetChain()
......
......@@ -193,6 +193,8 @@ void export_Residue()
.add_property("qualified_name", &ResidueBase::GetQualifiedName)
.def("IsPeptideLinking", &ResidueBase::IsPeptideLinking)
.add_property("peptide_linking", &ResidueBase::IsPeptideLinking)
.def("IsNucleotideLinking", &ResidueBase::IsNucleotideLinking)
.add_property("nucleotide_linking", &ResidueBase::IsNucleotideLinking)
.def("GetCentralAtom", &ResidueBase::GetCentralAtom)
.def("SetCentralAtom", &ResidueBase::SetCentralAtom)
......
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