From e814ce8354c919711273b7c2087696ead8d3fc8f Mon Sep 17 00:00:00 2001 From: Roman Bredehoft Date: Thu, 25 Apr 2024 15:12:41 +0200 Subject: [PATCH] chore: put back debug mode for jupyter --- script/make_utils/jupyter.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/script/make_utils/jupyter.sh b/script/make_utils/jupyter.sh index 856498deb..06079067d 100755 --- a/script/make_utils/jupyter.sh +++ b/script/make_utils/jupyter.sh @@ -69,19 +69,21 @@ then # Remove notebooks with long execution times for NOTEBOOK_TO_REMOVE in "${NOTEBOOKS_TO_SKIP[@]}" do - echo "${NOTEBOOK_TO_REMOVE} is skipped as its execution time is too long" + echo "Skipping: ${NOTEBOOK_TO_REMOVE}" # shellcheck disable=SC2206 LIST_OF_NOTEBOOKS=(${LIST_OF_NOTEBOOKS[@]/*${NOTEBOOK_TO_REMOVE}*/}) done + echo "" + # shellcheck disable=SC2068 for NOTEBOOK in ${LIST_OF_NOTEBOOKS[@]} do echo "Refreshing ${NOTEBOOK}" START=$(date +%s) - if jupyter nbconvert --to notebook --inplace --execute "${NOTEBOOK}"; then + if jupyter nbconvert --to notebook --inplace --execute "${NOTEBOOK}" --log-level=DEBUG; then echo "${NOTEBOOK}" >> "${SUCCESSFUL_NOTEBOOKS}" else echo "${NOTEBOOK}" >> "${FAILED_NOTEBOOKS}"