Skip to content

Commit

Permalink
tools: jbuf plots - add check if jbuf.json exists
Browse files Browse the repository at this point in the history
  • Loading branch information
cspiel1 committed Sep 27, 2023
1 parent 3a4ea9f commit 18f09b6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tools/jbuf/generate_plot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ if ! which gnuplot; then
exit 1
fi

if [ ! -f jbuf.json ]; then
echo "jbuf.json does not exist"
exit 1
fi

function gen_datfile() {
ph=$1
filename=$2
Expand Down

0 comments on commit 18f09b6

Please sign in to comment.