Skip to content

Commit

Permalink
feat: constrainEnzConcs keep prot pool draw
Browse files Browse the repository at this point in the history
addresses #375
  • Loading branch information
edkerk committed May 26, 2024
1 parent 5f3c14d commit 63bdd86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/geckomat/limit_proteins/constrainEnzConcs.m
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

%If non-NaN in model.ec.concs, then constrain by UB
if any(protCons)
model.S(protPoolIdx, usageRxnsIdx(protCons)) = 0;
% model.S(protPoolIdx, usageRxnsIdx(protCons)) = 0; % Since GECKO 3.2.0
model.lb(usageRxnsIdx(protCons)) = -model.ec.concs(protCons);
end
end

0 comments on commit 63bdd86

Please sign in to comment.