-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to support null species as reactant or product in a reaction? #1
Comments
using GillesPy2
dnadimer_repressor = GillesPy2.model()
k1 = GillesPy2.parameter("k1", .09)
k2 = GillesPy2.parameter("k2", .05)
k3 = GillesPy2.parameter("k3", .001)
k4 = GillesPy2.parameter("k4", .0009)
k5 = GillesPy2.parameter("k5", .00001)
k6 = GillesPy2.parameter("k6", .0005)
k7 = GillesPy2.parameter("k7", .005)
k8 = GillesPy2.parameter("k8", 0.1)
dnadimer_repressor.add_parameter([k1, k2, k3, k4, k5, k6, k7, k8])
G = GillesPy2.species("G", 1000)
M = GillesPy2.species("M", 0)
P = GillesPy2.species("P", 0)
P2 = GillesPy2.species("P2", 0)
P2G = GillesPy2.species("P2G", 0)
null = GillesPy2.species("null", 0)
dnadimer_repressor.add_species([G, M, P, P2, P2G, null])
r1 = GillesPy2.reaction("k1", Dict(G => 1), Dict(G => 1, M => 1), k1)
r2 = GillesPy2.reaction("k2", Dict(M => 1), Dict(M => 1, P => 1), k2)
r3 = GillesPy2.reaction("k3", Dict(M => 1), Dict(null => 0), k3)
r4 = GillesPy2.reaction("k4", Dict(P => 1), Dict(null => 0), k4)
r5 = GillesPy2.reaction("k5", Dict(P => 2), Dict(P2 => 1), k5)
r6 = GillesPy2.reaction("k6", Dict(P2 => 1), Dict(P => 2), k6)
r7 = GillesPy2.reaction("k7", Dict(P2 => 1, G => 1), Dict(P2G => 1), k7)
r8 = GillesPy2.reaction("k8", Dict(P2G => 1), Dict(P2 => 1, G => 1), k8)
dnadimer_repressor.add_reaction([r1, r2, r3, r4, r5, r6, r7, r8]) this results in a error as follows
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
how to add a nullspecies in a reaction as a reactant or product ?
The text was updated successfully, but these errors were encountered: