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 May 17, 2024
1 parent fb93606 commit eb5cc8e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,9 @@ def __init__(self, folder_path: PathType, pattern: str, sampling_frequency: floa
folder_path = Path(folder_path)
file_paths = match_paths(str(folder_path), pattern)
super().__init__(file_paths=file_paths, sampling_frequency=sampling_frequency)
self._kwargs.update({
"folder_path": str(folder_path.absolute()),
"pattern": pattern,
})

self._kwargs.update(
{
"folder_path": str(folder_path.absolute()),
"pattern": pattern,
}
)
5 changes: 1 addition & 4 deletions tests/test_multitiff_multipage_imaging_extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,7 @@ def test_init_folder_tiff_imaging_extractor_multi_page():

def test_init_multitiff_imaging_extractor_multi_page():
extractor = MultiTiffImagingExtractor(
file_paths=[
OPHYS_DATA_PATH / "imaging_datasets" / "Tif" / "splits" / f"split_{i}.tif"
for i in range(1, 11)
],
file_paths=[OPHYS_DATA_PATH / "imaging_datasets" / "Tif" / "splits" / f"split_{i}.tif" for i in range(1, 11)],
sampling_frequency=1.0,
)

Expand Down

0 comments on commit eb5cc8e

Please sign in to comment.