Skip to content

Commit 185158f

Browse files
committed
Added Pydantic models to validate LIF and TIFF preprocessing result messages
1 parent a01a786 commit 185158f

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/murfey/util/models.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,22 @@ class TIFFSeriesInfo(BaseModel):
160160
series_metadata: Path
161161

162162

163+
class LIFPreprocessingResult(BaseModel):
164+
image_stack: Path
165+
metadata: Path
166+
series_name: str
167+
color: str
168+
parent_lif: Path
169+
170+
171+
class TIFFPreprocessingResult(BaseModel):
172+
image_stack: Path
173+
metadata: Path
174+
series_name: str
175+
color: str
176+
parent_tiffs: List[Path]
177+
178+
163179
"""
164180
FIB
165181
===

0 commit comments

Comments
 (0)