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 Dec 6, 2023
1 parent e43b977 commit b5ceb88
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/spikeinterface/extractors/cbin_ibl.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ def __init__(self, folder_path, load_sync_channel=False, stream_name="ap"):
# snippets downloaded from IBL have the .stream.cbin suffix
cbin_stream_files = list(folder_path.glob(f"*.{stream_name}.stream.cbin"))
curr_cbin_files = cbin_stream_files if len(cbin_stream_files) > len(cbin_files) else cbin_files
assert len(curr_cbin_files) == 1, f"There should only be one `*.cbin` file in the folder, but {print(curr_cbin_files)} have been found"
assert (
len(curr_cbin_files) == 1
), f"There should only be one `*.cbin` file in the folder, but {print(curr_cbin_files)} have been found"
cbin_file = curr_cbin_files[0]
ch_file = cbin_file.with_suffix(".ch")
meta_file = cbin_file.with_suffix(".meta")
Expand Down

0 comments on commit b5ceb88

Please sign in to comment.