From cb91265e0f9fb9ffcf8c1753cbe1504983d0ee02 Mon Sep 17 00:00:00 2001 From: Johan Mazoyer Date: Mon, 28 Oct 2024 17:34:13 +0100 Subject: [PATCH] fix typo in id property access --- catkit2/services/hamamatsu_camera/hamamatsu_camera.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catkit2/services/hamamatsu_camera/hamamatsu_camera.py b/catkit2/services/hamamatsu_camera/hamamatsu_camera.py index b77f8b69..f179f60b 100644 --- a/catkit2/services/hamamatsu_camera/hamamatsu_camera.py +++ b/catkit2/services/hamamatsu_camera/hamamatsu_camera.py @@ -114,7 +114,7 @@ def open(self): hot_pixel_correction = 3.0 else: raise ValueError(f'Invalid hot pixel correction: {self.hot_pixel_correction}, must be one of ["standard", "minimum", "aggressive"]') - self.cam.prop_setvalue(self.cam.DCAM_IDPROP.HOTPIXELCORRECT_LEVEL, hot_pixel_correction) + self.cam.prop_setvalue(dcam.DCAM_IDPROP.HOTPIXELCORRECT_LEVEL, hot_pixel_correction) self.camera_mode = self.config.get('camera_mode', "standard") if self.camera_mode == "ultraquiet":