From 78d2f6801e2b1c80d4685c9fb3186c205b7dc9e6 Mon Sep 17 00:00:00 2001 From: Théo de la Hogue Date: Mon, 11 Mar 2024 17:11:49 +0100 Subject: removing property decorator to method that was not an object property but an object status. --- src/argaze.test/GazeAnalysis/DispersionThresholdIdentification.py | 2 +- src/argaze.test/GazeAnalysis/VelocityThresholdIdentification.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/argaze.test/GazeAnalysis') 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) -- cgit v1.1