Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LCSB-BioCore
COBREXA.jl
Commits
81dd787e
Unverified
Commit
81dd787e
authored
May 06, 2021
by
St. Elmo
Committed by
Miroslav Kratochvil
May 06, 2021
Browse files
fixed reviews
parent
a63bd991
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/analysis/flux_variability_analysis.jl
View file @
81dd787e
...
...
@@ -141,7 +141,7 @@ Internal helper for creating the optimized model on a remote worker, for
avoiding namespace problems.
"""
function
_FVA_optimize_reaction
(
model
,
rid
,
ret
)
sense
=
rid
>
0
?
MAX
:
MIN
sense
=
rid
>
0
?
MAX
_SENSE
:
MIN_SENSE
var
=
all_variables
(
model
)[
abs
(
rid
)]
@objective
(
model
,
sense
,
var
)
...
...
src/base/constants.jl
View file @
81dd787e
...
...
@@ -53,5 +53,5 @@ const _constants = (
colors
=
(
empty
=
:
dark_gray
,
payload
=
:
default
,
key
=
:
cyan
),
)
const
MAX
=
COBREXA
.
MOI
.
MAX_SENSE
const
MIN
=
COBREXA
.
MOI
.
MIN_SENSE
const
MAX
_SENSE
=
COBREXA
.
MOI
.
MAX_SENSE
const
MIN
_SENSE
=
COBREXA
.
MOI
.
MIN_SENSE
test/analysis/flux_balance_analysis.jl
View file @
81dd787e
...
...
@@ -56,7 +56,7 @@ end
modifications
=
[
change_objective
(
"BIOMASS_Ecoli_core_w_GAM"
),
change_constraint
(
"EX_glc__D_e"
,
-
12
,
-
12
),
change_sense
(
MOI
.
MAX_SENSE
),
change_sense
(
MAX_SENSE
),
change_optimizer_attribute
(
"IPM_IterationsLimit"
,
110
),
],
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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