Skip to content

Commit 7b90e8d

Browse files
committed
Fix Kilosort tests for 4.0.39
1 parent 42d4855 commit 7b90e8d

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/scripts/test_kilosort4_ci.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -288,9 +288,11 @@ def test_cluster_spikes_arguments(self):
288288
self._check_arguments(cluster_spikes, expected_arguments)
289289

290290
def test_save_sorting_arguments(self):
291-
expected_arguments = ["ops", "results_dir", "st", "clu", "tF", "Wall", "imin", "tic0", "save_extra_vars"]
292-
293-
expected_arguments.append("save_preprocessed_copy")
291+
expected_arguments = [
292+
"ops", "results_dir", "st", "clu", "tF", "Wall", "imin", "tic0", "save_extra_vars", "save_preprocessed_copy"
293+
]
294+
if parse(kilosort.__version__) >= parse("4.0.39"):
295+
expected_arguments.append("skip_dat_path")
294296

295297
self._check_arguments(save_sorting, expected_arguments)
296298

0 commit comments

Comments
 (0)