From 960700713000e4610ae206a68fb191b9fbd3710b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 2 Oct 2023 17:03:36 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .../extractors/suite2p/suite2psegmentationextractor.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/roiextractors/extractors/suite2p/suite2psegmentationextractor.py b/src/roiextractors/extractors/suite2p/suite2psegmentationextractor.py index 86d57e9b..3fce3be0 100644 --- a/src/roiextractors/extractors/suite2p/suite2psegmentationextractor.py +++ b/src/roiextractors/extractors/suite2p/suite2psegmentationextractor.py @@ -9,7 +9,7 @@ from pathlib import Path from typing import Optional from warnings import warn -import os +import os import numpy as np from ...extraction_tools import PathType @@ -49,7 +49,7 @@ def get_available_channels(cls, folder_path: PathType): channel_names.append("chan2") return channel_names - + @classmethod def get_available_planes(cls, folder_path: PathType): """Get the available plane names from the folder produced by Suite2p. @@ -64,10 +64,10 @@ def get_available_planes(cls, folder_path: PathType): """ folder_path = Path(folder_path) - prefix = 'plane' + prefix = "plane" plane_names = [] for item in os.listdir(folder_path): - if item.startswith(prefix): + if item.startswith(prefix): plane_names.append(item) return plane_names