Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LCSB-BioCore
COBREXA.jl
Commits
750a9dd9
Unverified
Commit
750a9dd9
authored
Apr 07, 2021
by
St. Elmo
Browse files
added fva default tol
parent
d4eb3570
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/COBREXA.jl
View file @
750a9dd9
...
...
@@ -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
...
))
...
...
src/analysis/flux_variability_analysis.jl
View file @
750a9dd9
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment