Skip to content

Commit 0e033b3

Browse files
committed
oups #2
1 parent 95c130b commit 0e033b3

1 file changed

Lines changed: 5 additions & 8 deletions

File tree

.github/scripts/test_kilosort4_ci.py

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,6 @@
8484
"duplicate_spike_ms": 0.3,
8585
}
8686

87-
PARAMS_TO_TEST = list(PARAMS_TO_TEST_DICT.keys())
88-
8987
PARAMETERS_NOT_AFFECTING_RESULTS = [
9088
"artifact_threshold",
9189
"ccg_threshold",
@@ -99,21 +97,20 @@
9997
# Add/Remove version specific parameters
10098
if parse(kilosort.__version__) >= parse("4.0.22"):
10199
PARAMS_TO_TEST_DICT.update(
102-
[
103-
{"position_limit": 50},
104-
]
100+
{"position_limit": 50}
105101
)
106102
# Position limit only affects computing spike locations after sorting
107103
PARAMETERS_NOT_AFFECTING_RESULTS.append("position_limit")
108104

109105
if parse(kilosort.__version__) >= parse("4.0.24"):
110106
PARAMS_TO_TEST_DICT.update(
111-
[
112-
{"max_peels": 101},
113-
]
107+
{"max_peels": 101},
114108
)
115109

116110

111+
PARAMS_TO_TEST = list(PARAMS_TO_TEST_DICT.keys())
112+
113+
117114
class TestKilosort4Long:
118115
# Fixtures ######
119116
@pytest.fixture(scope="session")

0 commit comments

Comments
 (0)