From 3bea3c06df9b9c37f336c214d747e51da1c33e13 Mon Sep 17 00:00:00 2001 From: "Daniel G, Krakowczyk" Date: Tue, 12 Sep 2023 16:13:14 +0200 Subject: [PATCH] add checnges to dataset --- src/pymovements/dataset/dataset.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/pymovements/dataset/dataset.py b/src/pymovements/dataset/dataset.py index de91577f9..c370c7dd3 100644 --- a/src/pymovements/dataset/dataset.py +++ b/src/pymovements/dataset/dataset.py @@ -443,6 +443,11 @@ def detect( for file_id, gaze in tqdm(enumerate(self.gaze), disable=disable_progressbar): gaze.detect(method, eye=eye, clear=clear, kwargs=kwargs) # workaround until events are fully part of the GazeDataFrame + gaze.events.frame = dataset_files.add_fileinfo( + definition=self.definition, + df=gaze.events.frame, + fileinfo=self.files[file_id], + ) self.events[file_id] = gaze.events return self