Unverified Commit 750a9dd9 authored by St. Elmo's avatar St. Elmo
Browse files

added fva default tol

parent d4eb3570
......@@ -26,7 +26,7 @@ include("banner.jl")
_print_banner()
# Constants
const DEFAULT_FVA_TOL = 1e-6 # for numerical stability when doing FVA
default_constants = (FVA_TOL = 1e-6)
# autoloading
const _inc(path...) = include(joinpath(path...))
......
......@@ -141,7 +141,7 @@ fva_max, fva_min = fva(model, biomass, optimizer; solver_attributes=atts)
function flux_variability_analysis(
model::StandardModel,
optimizer;
optimum_bound = 1.0 - DEFAULT_FVA_TOL,
optimum_bound = 1.0 - default_constants.FVA_TOL,
modifications = [(model, opt_model) -> nothing],
)
# Run FBA
......
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