Unverified Commit 9325e38d authored by St. Elmo's avatar St. Elmo Committed by GitHub
Browse files

Update src/base/utils/enzymes.jl

Co-authored-by: Miroslav Kratochvil's avatarMirek Kratochvil <exa.exa@gmail.com>
parent e70cb44c
......@@ -8,7 +8,7 @@ function that returns a dictionary of solved fluxes.
gene_product_dict(model::GeckoModel, opt_model) =
is_solved(opt_model) ?
Dict(genes(model) .=> value.(opt_model[:x])[(end-n_genes(model)+1):end]) : nothing
Dict(genes(model) .=> value.(opt_model[:x])[(length(model.columns)+1):end]) : nothing
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment