aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/argaze/GazeAnalysis/DispersionThresholdIdentification.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/argaze/GazeAnalysis/DispersionThresholdIdentification.py b/src/argaze/GazeAnalysis/DispersionThresholdIdentification.py
index 9d8cad2..36dfabf 100644
--- a/src/argaze/GazeAnalysis/DispersionThresholdIdentification.py
+++ b/src/argaze/GazeAnalysis/DispersionThresholdIdentification.py
@@ -250,7 +250,7 @@ class GazeMovementIdentifier(GazeFeatures.GazeMovementIdentifier):
return Fixation(self.__fixation_positions)
- if len(self.__saccade_positions) > 0:
+ if len(self.__saccade_positions) > 1:
return Saccade(self.__saccade_positions)
@@ -269,7 +269,7 @@ class GazeMovementIdentifier(GazeFeatures.GazeMovementIdentifier):
@property
def current_saccade(self) -> SaccadeType:
- if len(self.__saccade_positions) > 0:
+ if len(self.__saccade_positions) > 1:
return Saccade(self.__saccade_positions)