Fix type errors in remaining Things
This commit is contained in:
parent
99eee2e912
commit
7abede0db0
2 changed files with 2 additions and 2 deletions
|
|
@ -264,7 +264,7 @@ class JPEGSharpnessMonitor:
|
|||
"""Clean up after context manager is closed."""
|
||||
self.running = False
|
||||
|
||||
def focus_rel(self, dz: int, block_cancellation: int = False) -> tuple[int, int]:
|
||||
def focus_rel(self, dz: int, block_cancellation: bool = False) -> tuple[int, int]:
|
||||
"""Move the stage by dz, monitoring the position over time.
|
||||
|
||||
This performs exactly one move. Multiple calls of this method
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ class OpenFlexureSystem(lt.Thing):
|
|||
|
||||
@microscope_id.setter
|
||||
def _set_microscope_id(self, uuid: UUID) -> None:
|
||||
self._microscope_id = uuid
|
||||
self._microscope_id = str(uuid)
|
||||
|
||||
@lt.property
|
||||
def hostname(self) -> str:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue