aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/argaze/GazeFeatures.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/argaze/GazeFeatures.py b/src/argaze/GazeFeatures.py
index 574727c..67e5822 100644
--- a/src/argaze/GazeFeatures.py
+++ b/src/argaze/GazeFeatures.py
@@ -249,13 +249,17 @@ class GazeMovement():
if self.valid:
- output = f'{type(self)}:\n\tduration={self.duration}\n\tsize={len(self.positions)}'
+ output = f'{type(self)}:\n\tduration={self.duration}\n\tsize={len(self.positions)}\n\tfinished={self.finished}'
for ts, position in self.positions.items():
output += f'\n\t{ts}:\n\t\tvalue={position.value},\n\t\tprecision={position.precision}'
- return output
+ else:
+
+ output = f'{type(self)}'
+
+ return output
@property
def valid(self) -> bool: