Skip to content

Commit

Permalink
Drop session_info_matfile_path from __init__
Browse files Browse the repository at this point in the history
  • Loading branch information
alejoe91 committed Sep 28, 2023
1 parent a2aa3d3 commit 5f913b3
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/spikeinterface/extractors/cellexplorersortingextractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ def __init__(
sampling_frequency: float | None = None,
session_info_file_path: str | Path | None = None,
spikes_matfile_path: str | Path | None = None,
session_info_matfile_path: str | Path | None = None,
):
try:
from pymatreader import read_mat
Expand All @@ -67,11 +66,6 @@ def __init__(
)
file_path = spikes_matfile_path if file_path is None else file_path

if session_info_matfile_path is not None:
raise ValueError(
"The session_info_matfile_path argument is no longer supported in. Use session_info_file_path instead."
)

self.spikes_cellinfo_path = Path(file_path)
self.session_path = self.spikes_cellinfo_path.parent
self.session_id = self.spikes_cellinfo_path.stem.split(".")[0]
Expand Down

0 comments on commit 5f913b3

Please sign in to comment.