diff --git a/toolchain/templates/include/helpers.mako b/toolchain/templates/include/helpers.mako index a9493f71d0..58e34a3666 100644 --- a/toolchain/templates/include/helpers.mako +++ b/toolchain/templates/include/helpers.mako @@ -87,6 +87,10 @@ END t_${target.name}_stop=$(python3 -c 'import time; print(time.time())') +% if target.name == 'post_process': + python3 "${MFC_ROOT_DIR}/toolchain/templates/include/generate_silo_series.py" '${os.path.dirname(input)}' +% endif + if [ $code -eq 22 ]; then echo error "$YELLOW CASE FILE ERROR$COLOR_RESET > $YELLOW Case file has prohibited conditions as stated above.$COLOR_RESET" @@ -99,10 +103,6 @@ END exit 1 fi -% if target.name == 'post_process': - python3 "${MFC_ROOT_DIR}/toolchain/templates/include/generate_silo_series.py" '${os.path.dirname(input)}' -% endif - % if output_summary: cd '${MFC_ROOT_DIR}'