Commit 69c18124 authored by cylon-x's avatar cylon-x 🤖
Browse files

automatic formatting changes

parent 21945c6f
...@@ -173,8 +173,7 @@ function flux_variability_analysis( ...@@ -173,8 +173,7 @@ function flux_variability_analysis(
COBREXA.JuMP.termination_status(opt_model) == MOI.LOCALLY_SOLVED COBREXA.JuMP.termination_status(opt_model) == MOI.LOCALLY_SOLVED
) )
if status if status
fva_max[r_id] = fva_max[r_id] = Dict(zip(reactions(model), value.(opt_model[:x])))
Dict(zip(reactions(model), value.(opt_model[:x])))
else else
@warn "Error maximizing index: $i with error $(termination_status(opt_model))" @warn "Error maximizing index: $i with error $(termination_status(opt_model))"
fva_max[r_id] = nothing fva_max[r_id] = nothing
...@@ -187,8 +186,7 @@ function flux_variability_analysis( ...@@ -187,8 +186,7 @@ function flux_variability_analysis(
termination_status(opt_model) == MOI.LOCALLY_SOLVED termination_status(opt_model) == MOI.LOCALLY_SOLVED
) )
if status if status
fva_min[r_id] = fva_min[r_id] = Dict(zip(reactions(model), value.(opt_model[:x])))
Dict(zip(reactions(model), value.(opt_model[:x])))
else else
@warn "Error minimizing index: $i with error $(termination_status(opt_model))" @warn "Error minimizing index: $i with error $(termination_status(opt_model))"
fva_min[r_id] = nothing fva_min[r_id] = 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