From 7fbf96ddb648e4ed9ee7cc68625cf494062140f2 Mon Sep 17 00:00:00 2001 From: Ryan howard Date: Mon, 11 Mar 2024 11:47:20 -0400 Subject: [PATCH] format --- hardware/opentrons_hardware/scripts/lld_data_script.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hardware/opentrons_hardware/scripts/lld_data_script.py b/hardware/opentrons_hardware/scripts/lld_data_script.py index 5e7662e52bc..ff7f1c10522 100644 --- a/hardware/opentrons_hardware/scripts/lld_data_script.py +++ b/hardware/opentrons_hardware/scripts/lld_data_script.py @@ -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 )