From f341be20e3745f0ad788ec70a7ca9091dead6efa Mon Sep 17 00:00:00 2001 From: nienketimmermans <65012819+nienketimmermans@users.noreply.github.com> Date: Wed, 11 Dec 2024 10:40:20 +0100 Subject: [PATCH] fix bug --- src/paradigma/imu_preprocessing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/paradigma/imu_preprocessing.py b/src/paradigma/imu_preprocessing.py index bb28027..ff7a3d4 100644 --- a/src/paradigma/imu_preprocessing.py +++ b/src/paradigma/imu_preprocessing.py @@ -112,7 +112,7 @@ def preprocess_imu_data(df: pd.DataFrame, config: IMUConfig, sensor: str) -> pd. values_colnames += config.gravity_cols - df = df[[config.time_colname, *values_colnames]] + df = df[[DataColumns.TIME, *values_colnames]] return df