Skip to content

Commit

Permalink
MAINT: fix ruff error
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafajahanifar committed Oct 18, 2024
1 parent 31dedb5 commit a20ff15
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tiatoolbox/tools/stainextract.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
import numpy as np
from sklearn.decomposition import DictionaryLearning

from tiatoolbox import logger
from tiatoolbox.utils.misc import get_luminosity_tissue_mask
from tiatoolbox.utils.transforms import rgb2od

from tiatoolbox import logger

def vectors_in_correct_direction(e_vectors: np.ndarray) -> np.ndarray:
"""Points the eigen vectors in the right direction.
Expand Down Expand Up @@ -241,8 +241,8 @@ class VahadaneExtractor:
.. warning::
Vahadane stain extraction/normalization algorithms are unstable
after the update to `dictionary learning` algorithm in
scikit-learn > v0.23.0 (see issue #382). Please be advised and
after the update to `dictionary learning` algorithm in
scikit-learn > v0.23.0 (see issue #382). Please be advised and
consider using other stain extraction (normalization) algorithms.
Args:
Expand Down

0 comments on commit a20ff15

Please sign in to comment.