From e2a5b604ec4b3aa5321e21f53ef67a8fc23a1e1f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Al=C3=A1n=20Mu=C3=B1oz?= <alan.munoz@ed.ac.uk>
Date: Fri, 17 Mar 2023 03:35:28 +0000
Subject: [PATCH] change(signal): apply prepost by default

---
 src/agora/io/signal.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/agora/io/signal.py b/src/agora/io/signal.py
index 08e4c944..8ed24186 100644
--- a/src/agora/io/signal.py
+++ b/src/agora/io/signal.py
@@ -47,7 +47,7 @@ class Signal(BridgeH5):
     def __getitem__(self, dsets: t.Union[str, t.Collection]):
         """Get and potentially pre-process data from h5 file and return as a dataframe."""
         if isinstance(dsets, str):  # no pre-processing
-            df = self.get_raw(dsets)
+            df = self.apply_prepost(dsets)
             return self.add_name(df, dsets)
         elif isinstance(dsets, list):  # pre-processing
             is_bgd = [dset.endswith("imBackground") for dset in dsets]
-- 
GitLab