File tree Expand file tree Collapse file tree
examples/benchmarks/incremental-KaSa Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -240,7 +240,9 @@ for MODEL in "${MODELS[@]}"; do
240240 done
241241done
242242
243- python3 -m venv ./temp_python_install
243+ if [ ! -d " temp_python_install" ]; then
244+ python3 -m venv temp_python_install
245+ fi
244246source ./temp_python_install/bin/activate
245247pip3 install pandas -q
246248pip3 install matplotlib -q
@@ -269,10 +271,11 @@ echo "📊 The latex table of the runtimes can be found in: $OUTPUT_LATEX_RUNTIM
269271cmd=(python3
270272 " ${SCRIPT_DIR} /plot.py" " ${OUTPUT_DIR} experiments_output_mean.csv" " ${OUTPUT_DIR} runtimes"
271273 )
272- printf ' %q ' " ${cmd[@]} "
273- printf ' \n'
274+ if $VERBOSE ; then
275+ printf ' %q ' " ${cmd[@]} "
276+ printf ' \n'
277+ fi
274278{ ${cmd[@]} ; }
275279echo " 📈 The png plot of the runtimes can be found in: ${OUTPUT_DIR} runtimes.png"
276280
277- deactivate
278- rm -rf ./temp_python_install
281+ deactivate
Original file line number Diff line number Diff line change @@ -347,7 +347,9 @@ for MODEL in "${MODELS[@]}"; do
347347 echo " Results of the incremental analysis: $STDOUT_OUTPUT_FILE_INCREMENTAL "
348348done
349349
350- python3 -m venv ./temp_python_install
350+ if [ ! -d " temp_python_install" ]; then
351+ python3 -m venv temp_python_install
352+ fi
351353source ./temp_python_install/bin/activate
352354pip3 install pandas -q
353355
376378echo " 📊 The latex table of the runtimes can be found in: $OUTPUT_LATEX_RUNTIMES "
377379
378380deactivate
379- rm -rf ./temp_python_install
You can’t perform that action at this time.
0 commit comments