Skip to content

Commit

Permalink
ipynb/run_notebook.sh: handle missing input
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippvK committed Oct 2, 2024
1 parent 7539e3e commit f79ea91
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ipynb/run_notebook.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ do
done


if [[ -z $NOTEBOOK ]]
then
echo "No NOTEBOOK specified. Aborting..."
exit 1
fi
NOTEBOOK=$(readlink -f $NOTEBOOK)
if [[ ! -f $NOTEBOOK ]]
then
Expand Down

0 comments on commit f79ea91

Please sign in to comment.