Skip to content

Commit

Permalink
Fix minor bug in OPI generator
Browse files Browse the repository at this point in the history
  • Loading branch information
rjwills28 committed Nov 29, 2023
1 parent e01d949 commit a1ec4ec
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions performance/create_example_opi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -381,10 +381,9 @@ $(trace_0_y_pv_value)</tooltip>
<wuid>22a9b511:18a4ba4f815:-7e8a</wuid>
<x>185</x>
<y>'$YPOS'</y>
</widget>' >>$FILENAME
</widget>
</display>' >>$FILENAME
done





0 comments on commit a1ec4ec

Please sign in to comment.