Skip to content

Commit

Permalink
correct positional args typoes for hk1
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis-Titov committed Mar 5, 2024
1 parent 8a4fbb3 commit a7c5430
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Glycolysis"
uuid = "1acb6d80-f93a-4117-912f-ae4c0dd090a6"
authors = ["Denis-Titov <titov@berkeley.edu> and contributors"]
version = "0.6.3"
version = "0.6.4"

[deps]
LabelledArrays = "2ee39098-c373-598a-b85f-a56591580800"
Expand Down
6 changes: 3 additions & 3 deletions src/helper_functions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function conc_to_rates(s, params)
:ATPase,
)
r.GLUT = rate_GLUT(s.Glucose_media, s.Glucose, params)
r.HK1 = rate_HK1(s.Glucose, s.G6P, s.ATP, s.Phosphate, s.ADP, params)
r.HK1 = rate_HK1(s.Glucose, s.G6P, s.ATP, s.ADP, s.Phosphate, params)
r.GPI = rate_GPI(s.G6P, s.F6P, params)
r.PFKP = rate_PFKP(s.F6P, s.ATP, s.F16BP, s.ADP, s.Phosphate, s.Citrate, s.F26BP, params)
r.ALDO = rate_ALDO(s.F16BP, s.GAP, s.DHAP, params)
Expand All @@ -32,7 +32,7 @@ function conc_to_rates(s, params)
r.LDH = rate_LDH(s.Pyruvate, s.NADH, s.NAD, s.Lactate, params)
r.MCT = rate_MCT(s.Lactate, s.Lactate_media, params)
r.ATPprod = (
-rate_HK1(s.Glucose, s.G6P, s.ATP, s.Phosphate, s.ADP, params) -
-rate_HK1(s.Glucose, s.G6P, s.ATP, s.ADP, s.Phosphate, params) -
rate_PFKP(s.F6P, s.ATP, s.F16BP, s.ADP, s.Phosphate, s.Citrate, s.F26BP, params) +
rate_PGK(s.BPG, s.ADP, s.ATP, s.ThreePG, params) +
rate_PKM2(s.PEP, s.ADP, s.Pyruvate, s.ATP, s.F16BP, s.Phenylalanine, params) +
Expand Down Expand Up @@ -228,4 +228,4 @@ function free_to_bound_conc(f, params)
b.Phenylalanine =
(binding_PKM2(f.PEP, f.ADP, f.Pyruvate, f.ATP, f.F16BP, f.Phenylalanine, params).Phenylalanine)
return b
end
end

0 comments on commit a7c5430

Please sign in to comment.