aboutsummaryrefslogtreecommitdiff
path: root/docs/user_guide/gaze_analysis_pipeline/logging.md
diff options
context:
space:
mode:
authorThéo de la Hogue2024-02-28 18:48:40 +0100
committerThéo de la Hogue2024-02-28 18:48:40 +0100
commit9c42e9f1ee8208e14dadcb73cf030a9baef236ed (patch)
treee4d8e03e0c84af5afdc9d397d76dcb130320598b /docs/user_guide/gaze_analysis_pipeline/logging.md
parentb6101dddb28fa6ac9cd556facdc38c1ebcff7db3 (diff)
downloadargaze-9c42e9f1ee8208e14dadcb73cf030a9baef236ed.zip
argaze-9c42e9f1ee8208e14dadcb73cf030a9baef236ed.tar.gz
argaze-9c42e9f1ee8208e14dadcb73cf030a9baef236ed.tar.bz2
argaze-9c42e9f1ee8208e14dadcb73cf030a9baef236ed.tar.xz
Updating the use of with statement in documentation.
Diffstat (limited to 'docs/user_guide/gaze_analysis_pipeline/logging.md')
-rw-r--r--docs/user_guide/gaze_analysis_pipeline/logging.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/user_guide/gaze_analysis_pipeline/logging.md b/docs/user_guide/gaze_analysis_pipeline/logging.md
index fae10a6..48808cc 100644
--- a/docs/user_guide/gaze_analysis_pipeline/logging.md
+++ b/docs/user_guide/gaze_analysis_pipeline/logging.md
@@ -36,7 +36,7 @@ from argaze.utils import UtilsFeatures
class ScanPathAnalysisLogger(DataFeatures.PipelineStepObserver, UtilsFeatures.FileWriter):
def on_look(self, timestamp, ar_frame, exception):
- """Log scan path metrics.ar_frame"""
+ """Log scan path metrics"""
if ar_frame.analysis_available:
@@ -116,10 +116,10 @@ from argaze.utils import UtilsFeatures
class VideoRecorder(DataFeatures.PipelineStepObserver, UtilsFeatures.VideoWriter):
- def on_look(self, timestamp, ar_frame, exception):
- """Record frame image into video file."""
+ def on_look(self, timestamp, ar_frame, exception):
+ """Record frame image into video file."""
- self.write(ar_frame.image())
+ self.write(ar_frame.image())
# Export recorder as observer
__observers__ = {