Skip to content

Commit a6a33ce

Browse files
committed
fix: exclude 'sortings' and remove old TODO
1 parent 585baaf commit a6a33ce

3 files changed

Lines changed: 5 additions & 60 deletions

File tree

.github/workflows/codespell.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,5 @@ jobs:
2323
uses: codespell-project/codespell-problem-matcher@v1
2424
- name: Codespell
2525
uses: codespell-project/actions-codespell@v2
26+
with:
27+
ignore_words_list: sortings

TODO.md

Lines changed: 0 additions & 57 deletions
This file was deleted.

spikeinterface_gui/tests/testingtools.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def make_analyzer_folder(test_folder, case="small", unit_dtype="str"):
4444
job_kwargs = dict(n_jobs=-1, progress_bar=True, chunk_duration="1s")
4545

4646
recordings = []
47-
sorting = []
47+
sortings = []
4848
probes = []
4949
for i in range(num_probe):
5050
recording, sorting = si.generate_ground_truth_recording(
@@ -75,7 +75,7 @@ def make_analyzer_folder(test_folder, case="small", unit_dtype="str"):
7575
recording = recording.set_probe(probe)
7676

7777
recordings.append(recording)
78-
sorting.append(sorting)
78+
sortings.append(sorting)
7979
probes.append(probe.copy())
8080

8181
if 'split' in case:
@@ -105,7 +105,7 @@ def make_analyzer_folder(test_folder, case="small", unit_dtype="str"):
105105
count += n
106106
recording = recording.set_probegroup(probegroup)
107107

108-
sorting = si.aggregate_units(sorting)
108+
sorting = si.aggregate_units(sortings)
109109

110110
sorting = sorting.rename_units(sorting.unit_ids.astype(unit_dtype))
111111

0 commit comments

Comments
 (0)