Skip to content

Commit ea4cc9b

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent d5fff10 commit ea4cc9b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/spikeinterface/sorters/external/kilosort.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,9 @@ def _get_specific_options(cls, ops, params) -> dict:
255255
ops["Th"] = params["Th"] # threshold for detecting spikes on template-filtered data ([6 12 12])
256256
ops["lam"] = params["lam"] # large means amplitudes are forced around the mean ([10 30 30])
257257
ops["nannealpasses"] = params["nannealpasses"] # should be less than nfullpasses (4)
258-
assert ops["nannealpasses"] < ops["nfullpasses"], f"{ops['nannealpasses']=} should be less than {ops['nfullpasses']=}"
258+
assert (
259+
ops["nannealpasses"] < ops["nfullpasses"]
260+
), f"{ops['nannealpasses']=} should be less than {ops['nfullpasses']=}"
259261
ops["momentum"] = params["momentum"] # start with high momentum and anneal (1./[20 1000])
260262
ops["shuffle_clusters"] = params["shuffle_clusters"] # allow merges and splits during optimization (1)
261263
ops["mergeT"] = params["mergeT"] # upper threshold for merging (.1)

0 commit comments

Comments
 (0)