We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f90c617 commit cad48e4Copy full SHA for cad48e4
kilosort/io.py
@@ -63,8 +63,10 @@ def load_probe(probe_path):
63
# !DOES NOT WORK FOR PHASE3A PROBES WITH DISCONNECTED CHANNELS!
64
# Also does not remove reference channel in PHASE3B probes
65
contents = probe_path.read_text()
66
- metadata = {}
+ metadata = {'np': np}
67
exec(contents, {}, metadata)
68
+ # TODO: Figure out an alternative for exec, it's a security risk.
69
+
70
probe['chanMap'] = []
71
probe['xc'] = []
72
probe['yc'] = []
0 commit comments