From 8351ac28bad949446804698f198845693ffa22e0 Mon Sep 17 00:00:00 2001 From: Gabriel Studer <gabriel.studer@unibas.ch> Date: Wed, 14 May 2025 17:50:01 +0200 Subject: [PATCH] document OMF support in mmCIF writing --- modules/io/doc/mmcif.rst | 2 +- modules/io/pymod/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/io/doc/mmcif.rst b/modules/io/doc/mmcif.rst index 23bd2a530..b59e95b65 100644 --- a/modules/io/doc/mmcif.rst +++ b/modules/io/doc/mmcif.rst @@ -2119,7 +2119,7 @@ Here is an example with pre-defined mmCIF entities: Structure. Calling this function more than once raises an error. :param ent: The stucture to write - :type ent: :class:`ost.mol.EntityHandle`/ :class:`ost.mol.EntityView` + :type ent: :class:`ost.mol.EntityHandle`/ :class:`ost.mol.EntityView`/ :class:`ost.io.OMF` :param compound_lib: The compound library :type compound_lib: :class:`ost.conop.CompoundLib` :param mmcif_conform: Determines data extraction strategy as described above diff --git a/modules/io/pymod/__init__.py b/modules/io/pymod/__init__.py index dca962c0b..5304c716b 100644 --- a/modules/io/pymod/__init__.py +++ b/modules/io/pymod/__init__.py @@ -476,7 +476,7 @@ def SaveMMCIF(ent, filename, compound_lib = conop.GetDefaultLib(), If *mmcif_conform* is set to False, heuristics kick in to identify and separate mmCIF entities based on :class:`ost.mol.ChemClass` of the residues in a chain. - :type ent: :class:`ost.mol.EntityHandle`/:class:`ost.mol.EntityView` + :type ent: :class:`ost.mol.EntityHandle`/:class:`ost.mol.EntityView`/:class:`ost.io.OMF` :param entity_info: Advanced usage - description in :ref:`MMCif writing` :type filename: :class:`str` :type compound_lib: :class:`ost.conop.CompoundLib` -- GitLab