fix linter error
This commit is contained in:
parent
6e7adb66cd
commit
14c4908a98
1 changed files with 2 additions and 2 deletions
|
|
@ -197,8 +197,8 @@ class CSMExtension(BaseExtension):
|
||||||
settings = self.get_settings()
|
settings = self.get_settings()
|
||||||
try:
|
try:
|
||||||
return np.array(settings["image_to_stage_displacement"])
|
return np.array(settings["image_to_stage_displacement"])
|
||||||
except KeyError:
|
except KeyError as exc:
|
||||||
raise ValueError("The microscope has not yet been calibrated.")
|
raise ValueError("The microscope has not yet been calibrated.") from exc
|
||||||
|
|
||||||
def move_in_image_coordinates(self, displacement_in_pixels: XYCoordinateType):
|
def move_in_image_coordinates(self, displacement_in_pixels: XYCoordinateType):
|
||||||
"""Move by a given number of pixels on the camera"""
|
"""Move by a given number of pixels on the camera"""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue