From 62c10cb8092d18eb02eb96262c5d4f756af12e91 Mon Sep 17 00:00:00 2001 From: jacobpennington Date: Thu, 30 May 2024 17:56:13 -0700 Subject: [PATCH] default dtype saved as int16 instead of none in run_kilosort --- kilosort/run_kilosort.py | 1 + 1 file changed, 1 insertion(+) diff --git a/kilosort/run_kilosort.py b/kilosort/run_kilosort.py index 85833a32..fad75d30 100644 --- a/kilosort/run_kilosort.py +++ b/kilosort/run_kilosort.py @@ -112,6 +112,7 @@ def run_kilosort(settings, probe=None, probe_name=None, filename=None, "Interpreting binary file as default dtype='int16'. If data was " "saved in a different format, specify `data_dtype`." ) + data_dtype = 'int16' if not do_CAR: logger.info("Skipping common average reference.")