Skip to content

Commit 105e303

Browse files
pre-commit-ci[bot]Motsu-san
authored andcommitted
style(pre-commit): autofix
1 parent c611be8 commit 105e303

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

localization/autoware_localization_evaluation_scripts/scripts/plot_diagnostics.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,7 @@ def main(rosbag_path: Path, save_dir: Path = None) -> None:
166166
# Find closest timestamp match
167167
closest_entry = min(
168168
target_data,
169-
key=lambda x: abs(
170-
float(x["timestamp_header"]) - float(timestamp)
171-
),
169+
key=lambda x: abs(float(x["timestamp_header"]) - float(timestamp)),
172170
default=None,
173171
)
174172
if closest_entry:

0 commit comments

Comments
 (0)