From 0f1a4009795b9b56d86ee9d0a244c0ebac41ba0b Mon Sep 17 00:00:00 2001 From: Richard Bowman Date: Mon, 15 Feb 2021 17:04:44 +0000 Subject: [PATCH] Fixed type hint --- .../picamera_autocalibrate/recalibrate_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openflexure_microscope/api/default_extensions/picamera_autocalibrate/recalibrate_utils.py b/openflexure_microscope/api/default_extensions/picamera_autocalibrate/recalibrate_utils.py index 788d856d..1f804b2c 100644 --- a/openflexure_microscope/api/default_extensions/picamera_autocalibrate/recalibrate_utils.py +++ b/openflexure_microscope/api/default_extensions/picamera_autocalibrate/recalibrate_utils.py @@ -221,7 +221,7 @@ def adjust_shutter_and_gain_from_raw( def adjust_white_balance_from_raw( camera: PiCamera, percentile: float = 99 -) -> (float, float): +) -> Tuple[float, float]: """Adjust the white balance in a single shot, based on the raw image. NB if ``channels_from_raw_image`` is broken, this will go haywire.