sample_short_info: added tracker for rotation, raster and screening count
Build and Publish / test (push) Failing after 1m34s
Build and Publish / build (push) Skipped
Build and Publish / Build and Deploy Docs (push) Skipped

This commit is contained in:
appleb_m
2026-06-09 11:18:31 +02:00
parent 0756578acd
commit 376375673b
+4
View File
@@ -191,6 +191,10 @@ class SampleShortInfo(BaseModel):
priority: Optional[float] = 1.0
comment: Optional[str] = None
mount_count: int = 0
rotation_count: int = 0
raster_count: int = 0
screening_count: int = 0
def tell_address(self) -> SampleDewarAddress:
return SampleDewarAddress(puck=self.location, pin=self.pin)