Get unit tests passing with Scan Workflows

This commit is contained in:
Julian Stirling 2026-01-16 00:08:33 +00:00
parent c82523dd5b
commit 2a3a54b936
5 changed files with 149 additions and 135 deletions

View file

@ -225,6 +225,11 @@ class FinalStitcher(BaseStitcher):
HistoricScanData for this scan as a dictionary.
:param stitch_tiff: Whether to stitch a pyramidal TIFF.
"""
if not isinstance(stitching_settings, StitchingSettings):
raise StitcherValidationError(
"Final stitcher requires settings to be set as a StitchingSettings "
"model"
)
self.logger = logger
overlap = stitching_settings.overlap
correlation_resize = stitching_settings.correlation_resize

View file

@ -146,7 +146,7 @@ class SmartStackParams(BaseModel):
@dataclass
class CaptureInfo:
"""The information from a capture in a z_stack."""
"""The information from a capture in a smart_z_stack."""
buffer_id: int
position: Mapping[str, int]