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

doc: IO profiles in SDF reader

parent b253af37
No related branches found
Tags PYTHON3-v1.0.0
No related merge requests found
......@@ -30,6 +30,8 @@ Changes in Release 2.9.0
even though there is no experimental evidence. The approach with trimmed
models removes any model residue that cannot be mapped to the target
structure before scoring.
* The SDF reader is now aware of IOProfiles and can read files with invalid
bond types (order) from RDKit in fault tolerant mode.
* Several bug fixes and improvements.
Changes in Release 2.8.0
......
......@@ -119,22 +119,18 @@ behaviour.
:rtype: :class:`~ost.mol.EntityHandle`.
.. autofunction:: ost.io.LoadSDF
.. function:: LoadSDF(filename)
Load an SDF file and return an entity.
:param filename: File to be loaded
:type filename: :class:`str`
:rtype: :class:`~ost.mol.EntityHandle`
.. function:: SDFStrToEntity(sdf_string)
.. function:: SDFStrToEntity(sdf_string, profile=IOProfile())
Load entity from a string in SDF format.
:param pdb_string: A SDF file as a string.
:param profile: The IO Profile to read the entity with. For more information
on the IO Profiles available, see :doc:`profile`.
:type profile: :class:`ost.io.IOProfile`
:rtype: :class:`~ost.mol.EntityHandle`.
.. class:: ost.io.OMF
......
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