diff --git a/python/lsst/summit/utils/tmaUtils.py b/python/lsst/summit/utils/tmaUtils.py index de6d5557..777851ba 100644 --- a/python/lsst/summit/utils/tmaUtils.py +++ b/python/lsst/summit/utils/tmaUtils.py @@ -253,9 +253,10 @@ def getM1M3HardpointDataForEvent( ) # Add a column with the absolute max force - maxForce = [np.nanmax([abs(hardpointData.iloc[i][f'measuredForce{j}']) for j in range(6)]) - for i in range(len(hardpointData)) - ] + maxForce = [ + np.nanmax([abs(hardpointData.iloc[i][f"measuredForce{j}"]) for j in range(6)]) + for i in range(len(hardpointData)) + ] hardpointData["maxForce"] = maxForce @@ -568,7 +569,7 @@ def getPlotTime(time: pd.Timestamp | Time | datetime.datetime) -> datetime.datet assert hardpointData is not None # Calculate Max hardpoint force - maxForce = np.nanmax(hardpointData['maxForce'].values) + maxForce = np.nanmax(hardpointData["maxForce"].values) assert ax1p5 is not None for hp_index in range(6): ax1p5.plot(