Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
dweindl committed Oct 24, 2024
1 parent d6cfedc commit 9359b24
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion tests/benchmark-models/test_benchmark_collection.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,22 @@ for model in $models; do
yaml="${model_dir}"/"${model}"/problem.yaml
fi

# problems we need to flatten
to_flatten=(
"Bruno_JExpBot2016" "Chen_MSB2009" "Crauste_CellSystems2017"
"Fiedler_BMCSystBiol2016" "Fujita_SciSignal2010" "SalazarCavazos_MBoC2020"
)
flatten=""
for item in "${to_flatten[@]}"; do
if [[ "$item" == "$model" ]]; then
flatten="--flatten"
break
fi
done

amici_model_dir=test_bmc/"${model}"
mkdir -p "$amici_model_dir"
cmd_import="amici_import_petab ${yaml} -o ${amici_model_dir} -n ${model} --flatten"
cmd_import="amici_import_petab ${yaml} -o ${amici_model_dir} -n ${model} ${flatten}"
cmd_run="$script_path/test_petab_model.py -y ${yaml} -d ${amici_model_dir} -m ${model} -c"

printf '=%.0s' {1..40}
Expand Down

0 comments on commit 9359b24

Please sign in to comment.