Skip to content

Commit

Permalink
Trying yet again to fix black errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
craiglagegit committed Nov 8, 2024
1 parent e6d9f5a commit e3862fa
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions python/lsst/summit/utils/tmaUtils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
]

Check failure on line 259 in python/lsst/summit/utils/tmaUtils.py

View workflow job for this annotation

GitHub Actions / call-workflow / lint

E121

continuation line under-indented for hanging indent

hardpointData["maxForce"] = maxForce

Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit e3862fa

Please sign in to comment.