Skip to content

Commit d0b40d5

Browse files
committed
Added new fields to the Pydantic models for the CLEM results to register thumbnail images for ISPyB with
1 parent c9fe70c commit d0b40d5

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/murfey/workflows/clem/register_align_and_merge_results.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ class AlignAndMergeResult(BaseModel):
2222
align_self: Optional[str] = None
2323
flatten: Optional[str] = "mean"
2424
align_across: Optional[str] = None
25-
composite_image: Path
25+
output_file: Path
26+
thumbnail: Path
2627

2728
@field_validator("image_stacks", mode="before")
2829
@classmethod

src/murfey/workflows/clem/register_preprocessing_results.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ class CLEMPreprocessingResult(BaseModel):
3838
output_files: dict[
3939
Literal["gray", "red", "green", "blue", "cyan", "magenta", "yellow"], Path
4040
]
41+
thumbnails: dict[
42+
Literal["gray", "red", "green", "blue", "cyan", "magenta", "yellow"], Path
43+
]
4144
metadata: Path
4245
parent_lif: Optional[Path] = None
4346
parent_tiffs: dict[

0 commit comments

Comments
 (0)