From a884c8fa677609e06b846ae8e4e8ee8ef4fae017 Mon Sep 17 00:00:00 2001 From: Sam Tygier Date: Thu, 20 Jun 2024 13:59:58 +0100 Subject: [PATCH 1/2] Remove sarepy from dependancies --- environment-dev.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/environment-dev.yml b/environment-dev.yml index ed0daf844cf..879a4048cbe 100644 --- a/environment-dev.yml +++ b/environment-dev.yml @@ -1,7 +1,6 @@ name: mantidimaging-dev channels: - mantidimaging/label/unstable - - dtasev - astra-toolbox - conda-forge - ccpi @@ -29,7 +28,6 @@ dependencies: - pyfakefs==5.3.* - parameterized==0.9.* - pyinstaller==6.1.* - - sarepy=2020.07 # For building old docs - make==4.3 - ruff=0.3.3 - pre-commit==3.5.* From b141b198176b174d18c11483cc0e0fa569342a6e Mon Sep 17 00:00:00 2001 From: Sam Tygier Date: Mon, 24 Jun 2024 09:21:39 +0100 Subject: [PATCH 2/2] Remove mention of Sarepy from comments --- .../remove_stripe_filtering/remove_stripe_filtering.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mantidimaging/core/operations/remove_stripe_filtering/remove_stripe_filtering.py b/mantidimaging/core/operations/remove_stripe_filtering/remove_stripe_filtering.py index a7a5f1b28d7..6155cbb7e30 100644 --- a/mantidimaging/core/operations/remove_stripe_filtering/remove_stripe_filtering.py +++ b/mantidimaging/core/operations/remove_stripe_filtering/remove_stripe_filtering.py @@ -46,7 +46,7 @@ def filter_func(images: ImageStack, sigma=3, size=21, window_dim=1, filtering_di :param window_dim: Whether to perform the median on 1D or 2D view of the data. :param filtering_dim: Whether to use a 1D or 2D low-pass filter. This - uses different Sarepy methods. + uses different Algotom methods. :return: The ImageStack object with the stripes removed using the filtering and sorting technique. @@ -119,7 +119,7 @@ def register_gui(form, on_change, view): form=form, on_change=on_change, tooltip="Whether to use a 1D or 2D low-pass filter. " - "This uses different Sarepy methods") + "This uses different Algotom methods") return {'sigma': sigma, 'size': size, 'window_dim': window_dim, 'filtering_dim': filtering_dim} @staticmethod