Skip to content

Commit

Permalink
update stainnorm.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiaqi-Lv committed Feb 16, 2024
1 parent 04ad5be commit 152b5d8
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions tiatoolbox/tools/stainnorm.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,13 +367,7 @@ def get_mean_std(
def get_normalizer(
method_name: str,
stain_matrix: np.ndarray | None = None,
) -> (
ReinhardNormalizer
| RuifrokNormalizer
| MacenkoNormalizer
| VahadaneNormalizer
| CustomNormalizer
):
) -> StainNormalizer:
"""Return a :class:`.StainNormalizer` with corresponding name.
Args:
Expand Down

0 comments on commit 152b5d8

Please sign in to comment.