aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/argaze/GazeAnalysis/DispersionThresholdIdentification.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/argaze/GazeAnalysis/DispersionThresholdIdentification.py b/src/argaze/GazeAnalysis/DispersionThresholdIdentification.py
index ae7105e..5dd582d 100644
--- a/src/argaze/GazeAnalysis/DispersionThresholdIdentification.py
+++ b/src/argaze/GazeAnalysis/DispersionThresholdIdentification.py
@@ -133,10 +133,8 @@ class GazeMovementIdentifier(GazeFeatures.GazeMovementIdentifier):
if (ts - ts_last) > self.duration_min_threshold:
- # What about last valid positions !?
-
# Get last movement
- last_movement = self.current_saccade.finish() if len(self.__fixation_positions) == 0 else self.current_fixation.finish()
+ last_movement = self.current_gaze_movement.finish()
# Clear all former gaze positions
self.__valid_positions = GazeFeatures.TimeStampedGazePositions()