diff options
author | Théo de la Hogue | 2023-05-09 18:01:07 +0200 |
---|---|---|
committer | Théo de la Hogue | 2023-05-09 18:01:07 +0200 |
commit | 7fbb0708a46ea408a8e2cce5063eca1030577d17 (patch) | |
tree | d3d7a66405fec22caf2eb4f6ee2331a44f6bb948 | |
parent | 772fd8e9d076e256cdde9e7b7c81c7a101714442 (diff) | |
download | argaze-7fbb0708a46ea408a8e2cce5063eca1030577d17.zip argaze-7fbb0708a46ea408a8e2cce5063eca1030577d17.tar.gz argaze-7fbb0708a46ea408a8e2cce5063eca1030577d17.tar.bz2 argaze-7fbb0708a46ea408a8e2cce5063eca1030577d17.tar.xz |
Returning new arc instead of boolean.
-rw-r--r-- | src/argaze/GazeFeatures.py | 8 |
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.""" |