Skip to content

Commit

Permalink
exclude MagnitudeMatrix from subclasses
Browse files Browse the repository at this point in the history
  • Loading branch information
Ichunjo authored and LightArrowsEXE committed Nov 10, 2024
1 parent 6f1b5ff commit 2c84d49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vsmasktools/edge/_abstract.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
Expand Down Expand Up @@ -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'
}
Expand Down

0 comments on commit 2c84d49

Please sign in to comment.