Unverified Commit 3c242e81 authored by Miroslav Kratochvil's avatar Miroslav Kratochvil
Browse files

fix the previous

parent f262f0e8
......@@ -69,8 +69,8 @@ function flux_variability_analysis(
for mod in $modifications
mod(model, opt_model)
end
$COBREXA._FVA_add_constraint(optmodel, $(objective(model)), optmodel[:x], $Z)
optmodel
$COBREXA._FVA_add_constraint(opt_model, $(objective(model)), opt_model[:x], $Z)
opt_model
end
)
map(fetch, save_at.(workers, :cobrexa_parfva_model, Ref(save_model)))
......
......@@ -79,6 +79,6 @@ end
],
)
@test isapprox(maxs["EX_ac_e"]["EX_ac_e"], 16.81521027177164, atol = TEST_TOLERANCE)
@test isapprox(mins["EX_ac_e"]["EX_ac_e"], 1.553675043862341e-10, atol = TEST_TOLERANCE)
@test isapprox(maxs["EX_ac_e"]["EX_ac_e"], 8.5185494, atol = TEST_TOLERANCE)
@test isapprox(mins["EX_ac_e"]["EX_ac_e"], 7.4483887, atol = TEST_TOLERANCE)
end
Markdown is supported
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