Skip to content

Commit b22fc37

Browse files
authored
Merge pull request #3671 from alejoe91/fix-memmap-windows
Remove mmap mode in numpy folder
2 parents ca22ba8 + 0dfd062 commit b22fc37

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/spikeinterface/core/sortingfolder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def __init__(self, folder_path):
3737

3838
BaseSorting.__init__(self, sampling_frequency, unit_ids)
3939

40-
self.spikes = np.load(folder_path / "spikes.npy", mmap_mode="r")
40+
self.spikes = np.load(folder_path / "spikes.npy")
4141

4242
for segment_index in range(num_segments):
4343
self.add_sorting_segment(SpikeVectorSortingSegment(self.spikes, segment_index, unit_ids))

0 commit comments

Comments
 (0)