From 3f9c3447de7ccdcb2d5c1f53aa22b78d4ac73663 Mon Sep 17 00:00:00 2001 From: Richard Bowman Date: Thu, 23 Mar 2023 13:31:25 +0000 Subject: [PATCH] Fixed typos in comments spotted in code review --- openflexure_microscope/api/default_extensions/autofocus.py | 4 ++-- openflexure_microscope/api/openapi.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/openflexure_microscope/api/default_extensions/autofocus.py b/openflexure_microscope/api/default_extensions/autofocus.py index 045a7878..0f953c11 100644 --- a/openflexure_microscope/api/default_extensions/autofocus.py +++ b/openflexure_microscope/api/default_extensions/autofocus.py @@ -543,7 +543,7 @@ class AutofocusExtension(BaseExtension): "delay": fields.Int( load_default=5, metadata={ - "description": "How long to measure sharpness for after the move", + "description": "How long to measure sharpness for after the move, in seconds", "example": 5, }, ), @@ -582,7 +582,7 @@ class AutofocusExtension(BaseExtension): "initial_move_up": fields.Bool( load_default=True, metadata={ - "description": "Set to Flase to disable the initial move upwards" + "description": "Set to False to disable the initial move upwards" }, ), "backlash": fields.Int( diff --git a/openflexure_microscope/api/openapi.py b/openflexure_microscope/api/openapi.py index 77677740..006b518c 100644 --- a/openflexure_microscope/api/openapi.py +++ b/openflexure_microscope/api/openapi.py @@ -9,7 +9,7 @@ API_TAGS = [ ), "externalDocs": { "url": "https://www.w3.org/TR/wot-thing-description/#actionaffordance", - "description": "w3's description of Web of Things 'Action' resources.", + "description": "W3C's description of Web of Things 'Action' resources.", }, }, { @@ -20,7 +20,7 @@ API_TAGS = [ ), "externalDocs": { "url": "https://www.w3.org/TR/wot-thing-description/#propertyaffordance", - "description": "w3's description of Web of Things 'Property' resources.", + "description": "W3C's description of Web of Things 'Property' resources.", }, }, {"name": "captures", "description": ""},