aboutsummaryrefslogtreecommitdiff
path: root/src/argaze.test
diff options
context:
space:
mode:
authorThéo de la Hogue2024-03-11 17:11:49 +0100
committerThéo de la Hogue2024-03-11 17:11:49 +0100
commit78d2f6801e2b1c80d4685c9fb3186c205b7dc9e6 (patch)
tree624ec40c8a06464a34a0ce4b6b462a362ade3ba1 /src/argaze.test
parent98e7c91857de7a84c8264f5dfdc2459706b23b77 (diff)
downloadargaze-78d2f6801e2b1c80d4685c9fb3186c205b7dc9e6.zip
argaze-78d2f6801e2b1c80d4685c9fb3186c205b7dc9e6.tar.gz
argaze-78d2f6801e2b1c80d4685c9fb3186c205b7dc9e6.tar.bz2
argaze-78d2f6801e2b1c80d4685c9fb3186c205b7dc9e6.tar.xz
removing property decorator to method that was not an object property but an object status.
Diffstat (limited to 'src/argaze.test')
-rw-r--r--src/argaze.test/GazeAnalysis/DispersionThresholdIdentification.py2
-rw-r--r--src/argaze.test/GazeAnalysis/VelocityThresholdIdentification.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/argaze.test/GazeAnalysis/DispersionThresholdIdentification.py b/src/argaze.test/GazeAnalysis/DispersionThresholdIdentification.py
index 0bb8ed7..1c54bd1 100644
--- a/src/argaze.test/GazeAnalysis/DispersionThresholdIdentification.py
+++ b/src/argaze.test/GazeAnalysis/DispersionThresholdIdentification.py
@@ -381,7 +381,7 @@ class TestDispersionThresholdIdentificationClass(unittest.TestCase):
# Check that last gaze position date of current fixation is equal to given gaze position date
# NOTE: This is not true for saccade as, for I-DT, there is a minimal time window while the gaze movement is unknown
- current_gaze_movement = gaze_movement_identifier.current_gaze_movement
+ current_gaze_movement = gaze_movement_identifier.current_gaze_movement()
if current_gaze_movement:
if GazeFeatures.is_fixation(current_gaze_movement):
diff --git a/src/argaze.test/GazeAnalysis/VelocityThresholdIdentification.py b/src/argaze.test/GazeAnalysis/VelocityThresholdIdentification.py
index 1c7f7e3..051265c 100644
--- a/src/argaze.test/GazeAnalysis/VelocityThresholdIdentification.py
+++ b/src/argaze.test/GazeAnalysis/VelocityThresholdIdentification.py
@@ -308,7 +308,7 @@ class TestVelocityThresholdIdentificationClass(unittest.TestCase):
self.assertNotEqual(finished_gaze_movement[-1].timestamp, gaze_position.timestamp)
# Check that last gaze position date of current movement is equal to given gaze position date
- current_gaze_movement = gaze_movement_identifier.current_gaze_movement
+ current_gaze_movement = gaze_movement_identifier.current_gaze_movement()
if current_gaze_movement:
self.assertEqual(current_gaze_movement[-1].timestamp, gaze_position.timestamp)