From 6ab5304628efe5ec5d9071e240b486684a2ab23d Mon Sep 17 00:00:00 2001 From: Artur Meski Date: Wed, 2 Mar 2016 18:08:07 +0100 Subject: [PATCH] Permanent entities implementation. Allows for preserving concentration levels when the inhibitors are not provided. --- rs_examples.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rs_examples.py b/rs_examples.py index ad186e9..7cbc7aa 100755 --- a/rs_examples.py +++ b/rs_examples.py @@ -415,11 +415,11 @@ def blood_glucose_regulation(print_system=True): # potrzebne sa reakcje, ktore utrzymaja okresolna molekule na tym samym poziomie # -> przed podtrzymaniem trzeba sie upewnic, ze jednak jakas reakcja nie chce zmienic tego poziomu + r.add_permanency("sugar",[]) + # moje: r.add_reaction([("sugar",1)],[],[("sugar",1)]) - - c = ContextAutomatonWithConcentrations(r) c.add_init_state("0") c.add_state("1")