Skip to content

Commit

Permalink
Bug fix & Todo in growth #79 #121
Browse files Browse the repository at this point in the history
  • Loading branch information
GwennyGit committed Dec 2, 2024
1 parent 937b479 commit 51488ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/refinegems/analysis/growth.py
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ def growth_analysis(models:Union[cobra.Model,str,list[str],list[cobra.Model]],
case 'plot':
return report.plot_growth()
case 'both':
return (report, report.plot_growth)
return (report, report.plot_growth())
case _:
raise ValueError(f'Unknown input for retrieve: {retrieve}')

Expand Down Expand Up @@ -959,7 +959,7 @@ def test_growth_with_source(model:cobra.Model, element:str, substances:Union[Non
# --------------

# ......
#@ TODO:
# @TODO:
# see function body
# ......
def model_minimal_medium(model:cobraModel, objective:Literal['flux','medium','exchanges']='flux', growth_rate:float=0.5, open_exchanges:bool=False) -> Medium:
Expand Down

0 comments on commit 51488ef

Please sign in to comment.