From 499be9d2ccd15a11cc9a52e19be75746a02ab10a Mon Sep 17 00:00:00 2001 From: MichaelCoulter <37707865+MichaelCoulter@users.noreply.github.com> Date: Wed, 31 Jan 2024 17:04:39 -0800 Subject: [PATCH 1/2] Update waveform_features.py i updated the default parameters. i think chunk_duration is needed for spike interface to use the n_jobs keyword. this allows parallelization for waveform extraction --- src/spyglass/decoding/v1/waveform_features.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spyglass/decoding/v1/waveform_features.py b/src/spyglass/decoding/v1/waveform_features.py index b332df45e..a57fe5454 100644 --- a/src/spyglass/decoding/v1/waveform_features.py +++ b/src/spyglass/decoding/v1/waveform_features.py @@ -37,7 +37,7 @@ class WaveformFeaturesParams(SpyglassMixin, dj.Lookup): "ms_after": 0.5, "max_spikes_per_unit": None, "n_jobs": 5, - "total_memory": "5G", + "chunk_duration":"1000s", } contents = [ [ From 6a5518145dd1477e486aa65bf02d4c449ed78704 Mon Sep 17 00:00:00 2001 From: Eric Denovellis Date: Thu, 8 Feb 2024 19:43:12 -0800 Subject: [PATCH 2/2] Fix linting --- src/spyglass/decoding/v1/waveform_features.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spyglass/decoding/v1/waveform_features.py b/src/spyglass/decoding/v1/waveform_features.py index a57fe5454..61e38708f 100644 --- a/src/spyglass/decoding/v1/waveform_features.py +++ b/src/spyglass/decoding/v1/waveform_features.py @@ -37,7 +37,7 @@ class WaveformFeaturesParams(SpyglassMixin, dj.Lookup): "ms_after": 0.5, "max_spikes_per_unit": None, "n_jobs": 5, - "chunk_duration":"1000s", + "chunk_duration": "1000s", } contents = [ [