aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/argaze/GazeFeatures.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/argaze/GazeFeatures.py b/src/argaze/GazeFeatures.py
index bfe19fb..c300d4b 100644
--- a/src/argaze/GazeFeatures.py
+++ b/src/argaze/GazeFeatures.py
@@ -340,7 +340,7 @@ class VisualScan(list):
def append_saccade(self, ts, saccade):
"""Append a new saccade to visual scan."""
-
+
self.__movements[ts] = saccade
def append_fixation(self, ts, fixation, looked_aoi: str) -> bool:
@@ -369,15 +369,15 @@ class VisualScan(list):
# Remember new aoi
self.__last_aoi = looked_aoi
- # Notify that a new arc have been created
- return True
+ # Return new arc
+ return new_arc
else:
# Append new fixation
self.__movements[ts] = fixation
- return False
+ return None
class VisualScanAnalyzer():
"""Abstract class to define what should provide a visual scan analyser."""