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
69c18124
Commit
69c18124
authored
Apr 22, 2021
by
cylon-x
🤖
Browse files
automatic formatting changes
parent
21945c6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/analysis/flux_variability_analysis.jl
View file @
69c18124
...
...
@@ -173,8 +173,7 @@ function flux_variability_analysis(
COBREXA
.
JuMP
.
termination_status
(
opt_model
)
==
MOI
.
LOCALLY_SOLVED
)
if
status
fva_max
[
r_id
]
=
Dict
(
zip
(
reactions
(
model
),
value
.
(
opt_model
[
:
x
])))
fva_max
[
r_id
]
=
Dict
(
zip
(
reactions
(
model
),
value
.
(
opt_model
[
:
x
])))
else
@warn
"Error maximizing index:
$
i with error
$
(termination_status(opt_model))"
fva_max
[
r_id
]
=
nothing
...
...
@@ -187,8 +186,7 @@ function flux_variability_analysis(
termination_status
(
opt_model
)
==
MOI
.
LOCALLY_SOLVED
)
if
status
fva_min
[
r_id
]
=
Dict
(
zip
(
reactions
(
model
),
value
.
(
opt_model
[
:
x
])))
fva_min
[
r_id
]
=
Dict
(
zip
(
reactions
(
model
),
value
.
(
opt_model
[
:
x
])))
else
@warn
"Error minimizing index:
$
i with error
$
(termination_status(opt_model))"
fva_min
[
r_id
]
=
nothing
...
...
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