From beef6c5f4efd2440a66c47c71dbbf165478e6559 Mon Sep 17 00:00:00 2001 From: Artur Meski Date: Fri, 22 Feb 2019 22:10:17 +0000 Subject: [PATCH] example --- phd_example.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/phd_example.py b/phd_example.py index 099fd05..75b2ca6 100755 --- a/phd_example.py +++ b/phd_example.py @@ -9,10 +9,10 @@ def gen_expr(): prs = ReactionSystemWithConcentrationsParam() - entities = ["a", "b", "c", "h"] + ent_with_conc = [("a", 3), ("b",2), ("c",1), ("h",1)] - for ent in entities: - prs.add_bg_set_entity((ent, 3)) + for ec in ent_with_conc: + prs.add_bg_set_entity(ec) lda = prs.get_param("lda")