Skip to content
Snippets Groups Projects
Commit 81eb50c8 authored by pat-alt's avatar pat-alt
Browse files

Merge branch '85-overshooting' of https://github.com/pat-alt/ECCCo.jl into 85-overshooting

parents daaaaca5 5ca3fc0f
No related branches found
No related tags found
1 merge request!8985 overshooting
......@@ -223,10 +223,11 @@ FROM_GRID_SEARCH = "from_grid" ∈ ARGS
# Vertical splits for benchmarking:
if any(contains.(ARGS, "vertical_splits"))
@assert sum(contains.(ARGS, "output_path")) == 1 "`vertical_splits` is specified more than once."
@assert sum(contains.(ARGS, "vertical_splits")) == 1 "`vertical_splits` is specified more than once."
n_splits =
ARGS[findall(contains.(ARGS, "output_path"))][1] |>
x -> replace(x, "output_path=" => "") |>
ARGS[findall(contains.(ARGS, "vertical_splits"))][1] |>
x ->
replace(x, "vertical_splits=" => "") |>
x -> parse(Int, x)
else
n_splits = nothing
......
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