From 41a9de566f19b06b9e9b9a04a3c81aae0f2b8a0a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 29 Oct 2023 02:43:31 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/biocframe/BiocFrame.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/biocframe/BiocFrame.py b/src/biocframe/BiocFrame.py index c4d2858..3642f53 100644 --- a/src/biocframe/BiocFrame.py +++ b/src/biocframe/BiocFrame.py @@ -532,9 +532,9 @@ def _slice( new_row_names = _slice_or_index(new_row_names, new_row_indices) new_number_of_rows = len(new_row_names) else: - new_number_of_rows = len(_slice_or_index( - list(range(self.shape[0])), new_row_indices - )) + new_number_of_rows = len( + _slice_or_index(list(range(self.shape[0])), new_row_indices) + ) for k, v in new_data.items(): if hasattr(v, "shape"):