Skip to content

Commit

Permalink
add checnges to dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
dkrako committed Sep 12, 2023
1 parent b597c81 commit 3bea3c0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/pymovements/dataset/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 3bea3c0

Please sign in to comment.