Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
COBREXA.jl
Manage
Activity
Members
Plan
External wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LCSB-BioCore
COBREXA.jl
Commits
d2880846
You need to sign in or sign up before continuing.
Unverified
Commit
d2880846
authored
3 years ago
by
cylon-x
Committed by
St. Elmo
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
automatic formatting changes
parent
a2d0d86b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/analysis/sampling/warmup.jl
+4
-1
4 additions, 1 deletion
src/analysis/sampling/warmup.jl
test/analysis/sampling/hit_and_run.jl
+5
-3
5 additions, 3 deletions
test/analysis/sampling/hit_and_run.jl
with
9 additions
and
4 deletions
src/analysis/sampling/warmup.jl
+
4
−
1
View file @
d2880846
...
...
@@ -41,7 +41,10 @@ function warmup(
)
# get constraints from one of the workers
lbs
,
ubs
=
get_val_from
(
workers
[
1
],
:
(
COBREXA
.
get_bound_vectors
(
cobrexa_hit_and_run_warmup_model
)))
lbs
,
ubs
=
get_val_from
(
workers
[
1
],
:
(
COBREXA
.
get_bound_vectors
(
cobrexa_hit_and_run_warmup_model
)),
)
# free the data on workers
map
(
fetch
,
remove_from
.
(
workers
,
:
cobrexa_hit_and_run_warmup_model
))
...
...
This diff is collapsed.
Click to expand it.
test/analysis/sampling/hit_and_run.jl
+
5
−
3
View file @
d2880846
...
...
@@ -13,9 +13,11 @@
N
=
5000_000
,
nchains
=
3
,
samplesize
=
10_000
,
modifications
=
[
change_constraint
(
"EX_glc__D_e"
,
-
10
,
-
10
),
change_constraint
(
"BIOMASS_Ecoli_core_w_GAM"
,
0.8
,
0.8
)]
)
modifications
=
[
change_constraint
(
"EX_glc__D_e"
,
-
10
,
-
10
),
change_constraint
(
"BIOMASS_Ecoli_core_w_GAM"
,
0.8
,
0.8
),
],
)
# # The sampling converges very slowly, so can't really do an accurate test
# with so few samples
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment