diff --git a/mantidimaging/gui/windows/live_viewer/model.py b/mantidimaging/gui/windows/live_viewer/model.py index c40e06c8001..5b5a304134b 100644 --- a/mantidimaging/gui/windows/live_viewer/model.py +++ b/mantidimaging/gui/windows/live_viewer/model.py @@ -36,7 +36,7 @@ def __init__(self, image_list: list[Image_Data] | None): with fits.open(image_list[0].image_path.__str__()) as fit: sample = fit[0].data arrays = [image_data.delayed_array for image_data in image_list] - lazy_arrays =[dask.array.from_delayed(x, shape=sample.shape, dtype=sample.dtype) for x in arrays] + lazy_arrays = [dask.array.from_delayed(x, shape=sample.shape, dtype=sample.dtype) for x in arrays] self.delayed_stack = dask.array.stack(lazy_arrays) @property diff --git a/mantidimaging/gui/windows/live_viewer/presenter.py b/mantidimaging/gui/windows/live_viewer/presenter.py index f191a8e9a4d..02b2fc37ec6 100644 --- a/mantidimaging/gui/windows/live_viewer/presenter.py +++ b/mantidimaging/gui/windows/live_viewer/presenter.py @@ -9,7 +9,6 @@ import numpy as np from imagecodecs._deflate import DeflateError -from astropy.io import fits from mantidimaging.gui.mvp_base import BasePresenter from mantidimaging.gui.windows.live_viewer.model import LiveViewerWindowModel, Image_Data