Skip to content

Commit

Permalink
MinimalMedia printing updates
Browse files Browse the repository at this point in the history
  • Loading branch information
freiburgermsu committed Dec 12, 2023
1 parent 85156f0 commit 9df6c32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modelseedpy/core/msminimalmedia.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def minimize_flux(org_model, min_growth=None, environment=None, interacting=True
if simulated_sol.status != "optimal":
raise FeasibilityError(f"The simulation was not optimal, with a status of {simulated_sol.status}")
if printing:
print(f"The minimal flux media consists of {len(min_media)} compounds and a {total_flux} total influx,"
print(f"The minimal flux media for {org_model.id} consists of {len(min_media)} compounds and a {total_flux} total influx,"
f" with a growth value of {simulated_sol.objective_value}")
return min_media, sol

Expand Down

0 comments on commit 9df6c32

Please sign in to comment.