From 9c42e9f1ee8208e14dadcb73cf030a9baef236ed Mon Sep 17 00:00:00 2001 From: Théo de la Hogue Date: Wed, 28 Feb 2024 18:48:40 +0100 Subject: Updating the use of with statement in documentation. --- docs/user_guide/gaze_analysis_pipeline/logging.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/user_guide/gaze_analysis_pipeline/logging.md') 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__ = { -- cgit v1.1