Skip to content

Commit

Permalink
Adjusted deprecation warnings in curate.py for docs #120 #121
Browse files Browse the repository at this point in the history
  • Loading branch information
GwennyGit committed Jul 15, 2024
1 parent 721b416 commit 9c9717d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/refinegems/curation/curate.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@
def add_reactions_from_table(model: libModel, table: pd.DataFrame, email: str) -> libModel:
"""Wrapper function to use with table format given in data/manual_curation.xlsx, sheet gapfill: Adds all reactions with their info given in the table to the given model
**Deprecation warning**: will be deprecated in a future update.
.. warning::
.. deprecated:: 2.0.0
Use :py:func:`~refinegems.curation.gapfill.gapfill_model` instead.
Args:
- model (libModel):
Expand Down Expand Up @@ -88,7 +90,9 @@ def add_reactions_from_table(model: libModel, table: pd.DataFrame, email: str) -
def update_annotations_from_table(model: libModel, table: pd.DataFrame) -> libModel:
"""Wrapper function to use with table format given in data/manual_curation.xlsx, sheet metabs: Updates annotation of metabolites given in the table
**Deprecation warning**: will be deprecated in a future update.
.. warning::
.. deprecated:: 2.0.0
Use :py:func:`~refinegems.curation.gapfill.gapfill_model` instead if you want to add completely new content.
Args:
- model (libModel):
Expand Down

0 comments on commit 9c9717d

Please sign in to comment.