Skip to content

Commit

Permalink
use jupyter nbconvert
Browse files Browse the repository at this point in the history
  • Loading branch information
ccurme committed Sep 27, 2024
1 parent 87c270a commit c0bd626
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/scripts/execute_notebooks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit c0bd626

Please sign in to comment.