Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 2, 2023
1 parent 3ddda89 commit 9607007
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand All @@ -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
Expand Down

0 comments on commit 9607007

Please sign in to comment.