From 4c73db8793f94e25b52a39e36ccd10906d9dde5d Mon Sep 17 00:00:00 2001 From: Sam Tygier Date: Fri, 15 Nov 2024 09:03:31 +0000 Subject: [PATCH] Remove MixedDataset from StackVisualiserPresenter --- mantidimaging/gui/windows/stack_visualiser/presenter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mantidimaging/gui/windows/stack_visualiser/presenter.py b/mantidimaging/gui/windows/stack_visualiser/presenter.py index 9e3b8f58070..084df95425f 100644 --- a/mantidimaging/gui/windows/stack_visualiser/presenter.py +++ b/mantidimaging/gui/windows/stack_visualiser/presenter.py @@ -14,7 +14,7 @@ from mantidimaging.gui.mvp_base import BasePresenter from .model import SVModel from ...utility.common import operation_in_progress -from mantidimaging.core.data.dataset import MixedDataset +from mantidimaging.core.data.dataset import Dataset if TYPE_CHECKING: from .view import StackVisualiserView # pragma: no cover @@ -124,7 +124,7 @@ def dupe_stack_roi(self): self.add_mixed_dataset_to_model_and_update_view(new_images) def add_mixed_dataset_to_model_and_update_view(self, images: ImageStack): - dataset = MixedDataset(stacks=[images], name=images.name) + dataset = Dataset(stacks=[images], name=images.name) self.view._main_window.presenter.model.add_dataset_to_model(dataset) self.view._main_window.presenter.update_dataset_tree() self.view._main_window.presenter.create_dataset_stack_visualisers(dataset)