From 6cf9cb35ba8f05d649c5e1148d0533dc0a9a3a0a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 11 Apr 2025 17:13:25 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- lerobot/common/robot_devices/microphones/microphone.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lerobot/common/robot_devices/microphones/microphone.py b/lerobot/common/robot_devices/microphones/microphone.py index 33d772a7..a92be011 100644 --- a/lerobot/common/robot_devices/microphones/microphone.py +++ b/lerobot/common/robot_devices/microphones/microphone.py @@ -214,7 +214,7 @@ class Microphone: ) else: self.channels = np.arange(1, actual_microphone["max_input_channels"] + 1) - + # Get channels index instead of number for slicing self.channels_index = np.array(self.channels) - 1