From 1a936113c2d8396e44d26b53c756f8d0984bf0e5 Mon Sep 17 00:00:00 2001 From: AdilZouitine Date: Thu, 15 May 2025 15:55:24 +0200 Subject: [PATCH] fix formating and typos --- lerobot/common/utils/io_utils.py | 4 +--- lerobot/configs/control.py | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lerobot/common/utils/io_utils.py b/lerobot/common/utils/io_utils.py index c67d8e1e5..da0be1c77 100644 --- a/lerobot/common/utils/io_utils.py +++ b/lerobot/common/utils/io_utils.py @@ -28,9 +28,7 @@ def write_video(video_path, stacked_frames, fps): # Filter out DeprecationWarnings raised from pkg_resources with warnings.catch_warnings(): warnings.filterwarnings( - "ignore", - "pkg_resources is deprecated as an API", - category=DeprecationWarning, + "ignore", "pkg_resources is deprecated as an API", category=DeprecationWarning ) imageio.mimsave(video_path, stacked_frames, fps=fps) diff --git a/lerobot/configs/control.py b/lerobot/configs/control.py index 0bd802071..7025db321 100644 --- a/lerobot/configs/control.py +++ b/lerobot/configs/control.py @@ -87,7 +87,7 @@ class RecordControlConfig(ControlConfig): play_sounds: bool = True # Resume recording on an existing dataset. resume: bool = False - # Reset follower arms to an initial configuration. + # Reset follower arms to an initial position. reset_follower_arms: bool = False def __post_init__(self):