From 5c6ca393c4616c9342852a276abd906c41c16842 Mon Sep 17 00:00:00 2001 From: ashmeigh Date: Tue, 16 Jul 2024 17:58:25 +0100 Subject: [PATCH] Add return Signed-off-by: ashmeigh --- mantidimaging/gui/dialogs/cor_inspection/model.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mantidimaging/gui/dialogs/cor_inspection/model.py b/mantidimaging/gui/dialogs/cor_inspection/model.py index 85320645bde..9d4d165ae62 100644 --- a/mantidimaging/gui/dialogs/cor_inspection/model.py +++ b/mantidimaging/gui/dialogs/cor_inspection/model.py @@ -3,8 +3,10 @@ from __future__ import annotations from dataclasses import replace from logging import getLogger +from typing import TYPE_CHECKING -import numpy as np +if TYPE_CHECKING: + import numpy as np from mantidimaging.core.data import ImageStack from mantidimaging.core.reconstruct import get_reconstructor_for