Skip to content

Commit 47a04b3

Browse files
committed
Change to defaultt value use_binary_file=True for KS4
1 parent 142cff8 commit 47a04b3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/spikeinterface/sorters/external/kilosort4.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class Kilosort4Sorter(BaseSorter):
6666
"do_correction": True,
6767
"keep_good_only": False,
6868
"skip_kilosort_preprocessing": False,
69-
"use_binary_file": None,
69+
"use_binary_file": True,
7070
"delete_recording_dat": True,
7171
}
7272

@@ -116,7 +116,7 @@ class Kilosort4Sorter(BaseSorter):
116116
"keep_good_only": "If True, only the units labeled as 'good' by Kilosort are returned in the output. (spikeinterface parameter)",
117117
"use_binary_file": "If True then Kilosort is run using a binary file. In this case, if the input recording is not binary compatible, it is written to a binary file in the output folder. "
118118
"If False then Kilosort is run on the recording object directly using the RecordingExtractorAsArray object. If None, then if the recording is binary compatible, the sorter will use the binary file, otherwise the RecordingExtractorAsArray. "
119-
"Default is None. (spikeinterface parameter)",
119+
"Default is True. (spikeinterface parameter)",
120120
"delete_recording_dat": "If True, if a temporary binary file is created, it is deleted after the sorting is done. Default is True. (spikeinterface parameter)",
121121
}
122122

0 commit comments

Comments
 (0)