Skip to content

Commit

Permalink
Use binding=True Cython directive to improve documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
althonos committed Sep 7, 2023
1 parent ae3cc25 commit 45b145e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions docs/api/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,15 @@ API Reference
:nosignatures:

pyrodigal.TrainingInfo

MetagenomicBin
--------------

.. autosummary::
:nosignatures:

pyrodigal.MetagenomicBin
pyrodigal.MetagenomicBins


Genes
Expand Down
6 changes: 3 additions & 3 deletions pyrodigal/lib.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -3618,8 +3618,8 @@ cdef class TrainingInfo:
.. versionadded:: 0.5.0
.. versionchanged:: 3.0.0
Add setters to all properties.
.. versionadded:: 3.0.0
Propert constructor and setters to all properties.
"""

Expand Down Expand Up @@ -3917,7 +3917,7 @@ cdef class TrainingInfo:

@property
def missing_motif_weight(self):
"""`float: The weight for the case of no motif.
"""`float`: The weight for the case of no motif.
.. versionadded:: 3.0.0
Expand Down

0 comments on commit 45b145e

Please sign in to comment.