diff --git a/src/spikeinterface/extractors/nwbextractors.py b/src/spikeinterface/extractors/nwbextractors.py index 995e95115a..adddc2a1e8 100644 --- a/src/spikeinterface/extractors/nwbextractors.py +++ b/src/spikeinterface/extractors/nwbextractors.py @@ -18,7 +18,6 @@ def read_file_from_backend( cache: bool = False, stream_cache_path: str | Path | None = None, storage_options: dict | None = None, - backend: Literal["hdf5", "zarr"] | None = None, ): """ Reads a file from a hdf5 or zarr backend. @@ -680,7 +679,6 @@ def _fetch_recording_segment_info_pynwb(self, file, cache, load_time_vector, sam def _fetch_recording_segment_info_backend(self, file, cache, load_time_vector, samples_for_rate_estimation): open_file = read_file_from_backend( - backend=self.backend, file_path=self.file_path, file=file, stream_mode=self.stream_mode, @@ -1132,7 +1130,6 @@ def _fetch_sorting_segment_info_backend( self, unit_table_path: str = None, samples_for_rate_estimation: int = 1000, cache: bool = False ): open_file = read_file_from_backend( - backend=self.backend, file_path=self.file_path, stream_mode=self.stream_mode, cache=cache,