Skip to content

Commit

Permalink
chore: add debug in refresh script
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanBredehoft committed Apr 25, 2024
1 parent a081d16 commit 1234259
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script/make_utils/jupyter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ WHAT_TO_DO="open"

# Create a list of notebooks with long execution times in order not to consider them when refreshing
# all notebooks at the same time.
LONG_EXECUTION_TIMES_NOTEBOOKS=()
LONG_EXECUTION_TIMES_NOTEBOOKS=("docs/advanced_examples/LogisticRegression.ipynb" "docs/advanced_examples/ClassifierComparison.ipynb" "docs/advanced_examples/QuantizationAwareTraining.ipynb" "docs/advanced_examples/ExperimentPrivacyTreePaper.ipynb")

while [ -n "$1" ]
do
Expand Down Expand Up @@ -80,7 +80,7 @@ then
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}"
Expand Down

0 comments on commit 1234259

Please sign in to comment.