Apply suggestions from code review of branch scan-workflows

Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
This commit is contained in:
Julian Stirling 2026-02-06 13:28:30 +00:00
parent 504a47cbf8
commit 8f30f08bdf
3 changed files with 9 additions and 10 deletions

View file

@ -43,7 +43,7 @@ T = TypeVar("T")
P = ParamSpec("P")
# This allows ActiveScanData to hold arbitrary workflow settings models during a scan.
# This allows ActiveScanData to hold arbitrary workflow settings models during a scan.
AnyModel = Annotated[
BaseModel,
PlainSerializer(lambda value: value.model_dump(), return_type=dict),
@ -233,7 +233,7 @@ class SmartScanThing(lt.Thing):
def sample_scan(self, scan_name: str = "") -> None:
"""Move the stage to cover an area, taking images.
Depending on the way the stage moves depends on the selected workflow.
The way the stage moves depends on the selected workflow.
If images overlap for a scan workflow then the images can be stitched together
into a larger composite image.
"""