From a48ee921fa4f24808fa005eb4e73d47771c09111 Mon Sep 17 00:00:00 2001 From: Ichunjo Date: Sun, 10 Nov 2024 18:01:56 +0100 Subject: [PATCH] exclude MagnitudeMatrix from subclasses --- vsmasktools/edge/_abstract.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vsmasktools/edge/_abstract.py b/vsmasktools/edge/_abstract.py index 1d71ae1..9b1a08d 100644 --- a/vsmasktools/edge/_abstract.py +++ b/vsmasktools/edge/_abstract.py @@ -396,7 +396,7 @@ def _all_subclasses(cls: type[EdgeDetect] = EdgeDetect) -> set[type[EdgeDetect]] all_subclasses = { s for s in _all_subclasses() if s.__name__ not in { - 'MatrixEdgeDetect', 'RidgeDetect', 'SingleMatrix', 'EuclideanDistance', 'Max', + 'MatrixEdgeDetect', 'RidgeDetect', 'SingleMatrix', 'EuclideanDistance', 'MagnitudeMatrix', 'Max', 'Matrix1D', 'SavitzkyGolay', 'SavitzkyGolayNormalise', 'Matrix2x2', 'Matrix3x3', 'Matrix5x5' } @@ -428,7 +428,7 @@ def _all_subclasses(cls: type[RidgeDetect] = RidgeDetect) -> set[type[RidgeDetec all_subclasses = { s for s in _all_subclasses() if s.__name__ not in { - 'MatrixEdgeDetect', 'RidgeDetect', 'SingleMatrix', 'EuclideanDistance', 'Max', + 'MatrixEdgeDetect', 'RidgeDetect', 'SingleMatrix', 'EuclideanDistance', 'MagnitudeMatrix', 'Max', 'Matrix1D', 'SavitzkyGolay', 'SavitzkyGolayNormalise', 'Matrix2x2', 'Matrix3x3', 'Matrix5x5' }