Skip to content
Snippets Groups Projects
Unverified Commit 6ba4d5ab authored by Xavier Robin's avatar Xavier Robin
Browse files

doc: warning about is_ligand

parent 47ac1c63
Branches
Tags
No related merge requests found
...@@ -679,11 +679,18 @@ The Handle Classes ...@@ -679,11 +679,18 @@ The Handle Classes
:type: :class:`SecStructure` :type: :class:`SecStructure`
.. attribute:: is_ligand .. attribute:: is_ligand
Whether the residue is a ligand. When loading PDB structures, this property .. warning::
is set based on the HET records. This also means, that this property will This property is meaningless on mmCIF files loaded with
most likely not be set properly for all except PDB files coming from :func:`ost.io.LoadMMCIF` with `seqres=False` (the default), or if no
pdb.org. Also available as :meth:`IsLigand`, :meth:`SetIsLigand`. default compound library is set.
Whether the residue is a ligand. When loading PDB structures, this property
is set based on the HET records. This also means, that this property will
most likely not be set properly for all except PDB files coming from
pdb.org. When loading MMCIF structures, this property is set based on
`seqres` information and differs from PDB structures.
Also available as :meth:`IsLigand`, :meth:`SetIsLigand`.
.. attribute:: is_protein .. attribute:: is_protein
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment