Skip to content
Snippets Groups Projects
Unverified Commit a7984e42 authored by St. Elmo's avatar St. Elmo
Browse files

format and fix test

parent d8ac8c69
No related branches found
No related tags found
No related merge requests found
......@@ -72,4 +72,4 @@ function make_smomentmodel(
xl,
xu,
)
end
\ No newline at end of file
end
......@@ -130,4 +130,4 @@ flux_dict(model::MetabolicModel, opt_model)::Maybe{Dict{String,Float64}} =
A pipeable variant of `flux_dict`
"""
flux_dict(model::MetabolicModel) = x -> flux_dict(model, x)
\ No newline at end of file
flux_dict(model::MetabolicModel) = x -> flux_dict(model, x)
......@@ -129,4 +129,4 @@ function reaction_flux(model::SMomentModel)
!isnothing(rev_idx) && (R[i, rev_idx] = -1.0)
end
return R'
end
\ No newline at end of file
end
......@@ -19,7 +19,7 @@
model.genes[gid].molar_mass = get(ecoli_core_protein_masses, gid, nothing)
end
gm = GeckoModel(
gm = make_geckomodel(
model;
rid_isozymes,
enzyme_capacities = [(get_genes_with_kcats(rid_isozymes), total_protein_mass)],
......
......@@ -21,7 +21,7 @@
remove_slow_isozymes!(model, rid_isozymes)
smm = SMomentModel(model; rid_isozymes, enzyme_capacity = total_protein_mass)
smm = make_smomentmodel(model; rid_isozymes, enzyme_capacity = total_protein_mass)
change_bounds!(
smm,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment