diff options
author | Théo de la Hogue | 2024-02-28 18:48:40 +0100 |
---|---|---|
committer | Théo de la Hogue | 2024-02-28 18:48:40 +0100 |
commit | 9c42e9f1ee8208e14dadcb73cf030a9baef236ed (patch) | |
tree | e4d8e03e0c84af5afdc9d397d76dcb130320598b /docs/user_guide/gaze_analysis_pipeline/logging.md | |
parent | b6101dddb28fa6ac9cd556facdc38c1ebcff7db3 (diff) | |
download | argaze-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.md | 8 |
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__ = { |