From 5aa21e2bfe2c09655ee1d9c5e3f20df909dd4d33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20WYNGAARD?= Date: Thu, 28 Mar 2024 17:26:30 +0100 Subject: [PATCH] oops --- src/lussac/core/lussac_data.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lussac/core/lussac_data.py b/src/lussac/core/lussac_data.py index d0123ba..3b77433 100644 --- a/src/lussac/core/lussac_data.py +++ b/src/lussac/core/lussac_data.py @@ -199,8 +199,8 @@ def _load_recording(params: dict) -> si.BaseRecording: function = getattr(spre, preprocess_func) recording = function(recording, **arguments) - if 'cache' in params['preprocessing']: - recording = recording.save(folder=params['preprocessing']['cache']) + if 'cache' in params['preprocessing']: + recording = recording.save(folder=params['preprocessing']['cache']) return recording