Skip to content

Commit

Permalink
Remove unnecessary addition of parameter list that slows down generat…
Browse files Browse the repository at this point in the history
…ion of rate laws
  • Loading branch information
YinHoon committed Dec 8, 2019
1 parent 07873a2 commit 9c96ded
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions wc_model_gen/eukaryote/rna_degradation.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,9 @@ def gen_rate_laws(self):
else:
exclude_substrates = [h2o_species]

rate_law_exp, parameters = utils.gen_michaelis_menten_like_rate_law(
rate_law_exp, _ = utils.gen_michaelis_menten_like_rate_law(
self.model, reaction, modifiers=[modifier], exclude_substrates=exclude_substrates)
self.model.parameters += parameters


rate_law = self.model.rate_laws.create(
direction=wc_lang.RateLawDirection.forward,
type=None,
Expand Down

0 comments on commit 9c96ded

Please sign in to comment.