Skip to content

Commit 8f396c7

Browse files
author
Jacob Pennington
committed
Fixed recursion in ops[settings]
1 parent 0681d24 commit 8f396c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kilosort/run_kilosort.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ def initialize_ops(settings, probe, data_dtype, do_CAR, invert_sign,
514514

515515

516516
# TODO: Clean this up during refactor. Lots of confusing duplication here.
517-
ops = settings
517+
ops = settings.copy()
518518
ops['settings'] = settings
519519
ops['probe'] = probe
520520
ops['data_dtype'] = data_dtype

0 commit comments

Comments
 (0)