Skip to content
Snippets Groups Projects
Unverified Commit 88babb43 authored by cylon-x's avatar cylon-x :robot: Committed by St. Elmo
Browse files

automatic formatting changes

parent ce2afdd3
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@ function warmup(
# load on all workers
map(fetch, save_at.(workerids, :cobrexa_sampling_warmup_optmodel, Ref(save_model)))
# generate warm up points, like FVA
ret = m -> value.(m[:x]) # get all the fluxes, not just max/min like FVA
fluxes = dpmap(
......
......@@ -12,7 +12,7 @@
nps = 4 - nprocs()
# load extra processes, have at least 4 available
if 1 <= nps <= 3
if 1 <= nps <= 3
addprocs(nps)
end
@everywhere using COBREXA, Tulip
......
......@@ -11,7 +11,7 @@
nps = 4 - nprocs()
# load extra processes, have at least 4 available
if 1 <= nps <= 3
if 1 <= nps <= 3
addprocs(nps)
end
@everywhere using COBREXA, Tulip
......@@ -27,10 +27,10 @@
ind = first(indexin(["EX_glc__D_e"], reactions(model)))
@test size(ws) == (95, 2)
@test size(ws[1,1]) == (95,)
@test size(ws[1, 1]) == (95,)
@test lbs[ind] -4
@test ubs[ind] 4
# Parallel test
wsparallel, lbsparallel, ubsparallel = warmup(
model,
......@@ -42,7 +42,7 @@
ind = first(indexin(["EX_glc__D_e"], reactions(model)))
@test size(wsparallel) == (95, 2)
@test size(wsparallel[1,1]) == (95,)
@test size(wsparallel[1, 1]) == (95,)
@test lbsparallel[ind] -4
@test ubsparallel[ind] 4
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment