Skip to content

Commit f9a9389

Browse files
committed
Merge branch 'main' of github.com:ROBACON/mobspy
2 parents 3d14517 + b07538b commit f9a9389

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

docs/example_models/journal_models/Kappa_comp_v1.py

+7-9
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,27 @@
66
Phos_2.not_phos, Phos_2.phos_1, Phos_2.phos_2
77

88
# A and B can be linked
9-
A = Link1*Link2
9+
A = Link1 * Link2
1010
B = New(Link1)
1111
# C can be phosporolized twice
12-
C = Phos_2*Link2
12+
C = Phos_2 * Link2
1313

1414
# Rev stands for reversible reaction
15-
Rev[A.nl_1 + B.nl_1 >> A.l_1 + B.l_1][1e-4, lambda r: 0.1*r]
15+
Rev[A.nl_1 + B.nl_1 >> A.l_1 + B.l_1][1e-4, lambda r: 0.1 * r]
1616

1717
# A binds to C
18-
A.nl_2.l_1 + C.nl_2.not_phos >> A.l_2.l_1 + C.l_2.not_phos [1e-4]
18+
A.nl_2.l_1 + C.nl_2.not_phos >> A.l_2.l_1 + C.l_2.not_phos[1e-4]
1919

2020
# C is phosphoralized releases A
21-
C.l_2.not_phos + A.l_2.l_1 >> C.nl_2.phos_1 + A.nl_2.l_1 [lambda r: 1*r]
21+
C.l_2.not_phos + A.l_2.l_1 >> C.nl_2.phos_1 + A.nl_2.l_1[lambda r: 1 * r]
2222

2323
# C phosporalized binds to unbound A
24-
A.l_2.nl_1 + C.nl_2.phos_1 >> A.l_2.nl_1 + C.l_2.phos_1 [1e-4]
24+
A.l_2.nl_1 + C.nl_2.phos_1 >> A.l_2.nl_1 + C.l_2.phos_1[1e-4]
2525

2626
# Final C site is modified
27-
A.l_2.nl_1 + C.l_2.phos_1 >> A.nl_2.nl_1 + C.nl_2.phos_2 [lambda r: r]
27+
A.l_2.nl_1 + C.l_2.phos_1 >> A.nl_2.nl_1 + C.nl_2.phos_2[lambda r: r]
2828

2929
# initial conditions
3030
A(1000), B(1000), C(10000)
3131
S = Simulation(A | B | C)
3232
print(S.compile())
33-
34-

0 commit comments

Comments
 (0)