Skip to content

Commit

Permalink
set medium after provided by user GeomScale#95
Browse files Browse the repository at this point in the history
  • Loading branch information
hariszaf committed Apr 25, 2024
1 parent e6eeb9c commit d138a58
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dingo/MetabolicNetwork.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,8 @@ def set_active_bound(reaction: str, reac_index: int, bound: float) -> None:
set_active_bound(
rxn_id, reac_index, min(0.0, -self._lb[reac_index] if is_export else self._ub[reac_index])
)
self._medium = medium
self._opt_vector = None

@reactions_map.setter
def reactions_map(self, value):
Expand Down

0 comments on commit d138a58

Please sign in to comment.