From a1ec4ec5066cbc8ecffbf122633b74bc102ca05b Mon Sep 17 00:00:00 2001 From: Rebecca Williams Date: Wed, 29 Nov 2023 17:35:52 +0000 Subject: [PATCH] Fix minor bug in OPI generator --- performance/create_example_opi.sh | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/performance/create_example_opi.sh b/performance/create_example_opi.sh index 9527e7a..e60dba6 100755 --- a/performance/create_example_opi.sh +++ b/performance/create_example_opi.sh @@ -178,20 +178,20 @@ do MARGIN=1 if [[ $i -eq $(($N_PV_10Hz+$N_PV_5Hz)) ]]; then YPOS=$(( $YPOS + ($HEIGHT+20) )) - XPOS=XZERO + XPOS=$XZERO COL_COUNT=0 elif [[ $i -eq $(($N_PV_10Hz)) ]]; then YPOS=$(( $YPOS + ($HEIGHT+20) )) - XPOS=XZERO + XPOS=$XZERO COL_COUNT=0 elif [[ $i -eq 0 ]]; then - XPOS=XZERO + XPOS=$XZERO else if [[ $COL_COUNT -eq $(($N_COLS)) ]]; then MARGIN=1 COL_COUNT=0 YPOS=$(( $YPOS + ($HEIGHT+$MARGIN) )) - XPOS=XZERO + XPOS=$XZERO else if [[ $COL_COUNT -eq $(($N_COLS/2)) ]]; then MARGIN=20 @@ -381,10 +381,9 @@ $(trace_0_y_pv_value) 22a9b511:18a4ba4f815:-7e8a 185 '$YPOS' - ' >>$FILENAME + +' >>$FILENAME done - -