diff --git a/src/analysis/sampling/warmup.jl b/src/analysis/sampling/warmup.jl index d5c3ef3cc5832b666f398031290d8c2ccf06dc6e..0813101a05786ad52ec0fb35464b94c3094013d3 100644 --- a/src/analysis/sampling/warmup.jl +++ b/src/analysis/sampling/warmup.jl @@ -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)) diff --git a/test/analysis/sampling/hit_and_run.jl b/test/analysis/sampling/hit_and_run.jl index 02b6906367896da5779b20cfcc3ccca70b1d54e2..380da4b5088aa35c3ad2dca7b612461adff73cd5 100644 --- a/test/analysis/sampling/hit_and_run.jl +++ b/test/analysis/sampling/hit_and_run.jl @@ -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