From c0bd62612fec4148fbdfb55b2df5d33abd95dac9 Mon Sep 17 00:00:00 2001 From: Chester Curme Date: Fri, 27 Sep 2024 14:13:47 -0400 Subject: [PATCH] use jupyter nbconvert --- docs/scripts/execute_notebooks.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/scripts/execute_notebooks.sh b/docs/scripts/execute_notebooks.sh index c74e9919e64c4..a2442ac7ff9bd 100755 --- a/docs/scripts/execute_notebooks.sh +++ b/docs/scripts/execute_notebooks.sh @@ -8,7 +8,7 @@ execute_notebook() { file="$1" echo "Starting execution of $file" start_time=$(date +%s) - if ! output=$(time poetry run jupyter execute "$file" 2>&1); then + if ! output=$(time poetry run jupyter nbconvert --to notebook --execute $file 2>&1); then end_time=$(date +%s) execution_time=$((end_time - start_time)) echo "Error in $file. Execution time: $execution_time seconds"