Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanthecoder committed Mar 11, 2024
1 parent 4753dfe commit 7fbf96d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions hardware/opentrons_hardware/scripts/lld_data_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,13 +136,12 @@ def running_avg(
if no_plot:
# once we find it we don't need to keep going
break
if (average != impossible_pressure and prev_avg != impossible_pressure):
if average != impossible_pressure and prev_avg != impossible_pressure:
running_avg_derivative = average - prev_avg
running_time.append(time[i])
running_derivative.append(running_avg_derivative)
running_avg.append(average)


time_array: numpy.ndarray[Any, numpy.dtype[numpy.float32]] = numpy.array(
running_time
)
Expand Down

0 comments on commit 7fbf96d

Please sign in to comment.