Unverified Commit 88babb43 authored by cylon-x's avatar cylon-x 🤖 Committed by St. Elmo
Browse files

automatic formatting changes

parent ce2afdd3
Pipeline #42335 failed with stages
in 10 minutes and 55 seconds
......@@ -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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment