Skip to content

Commit

Permalink
move warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ajitjohnson committed Nov 20, 2024
1 parent b735394 commit 1663cf4
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions scimap/plotting/gate_finder.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,7 @@

import warnings

warnings.warn(
"gate_finder() is deprecated and will be removed in a future version. "
"Please use sm.pl.napariGater() instead.",
FutureWarning,
stacklevel=2,
)


try:
import napari
Expand Down Expand Up @@ -141,6 +136,13 @@ def gate_finder(
```
"""

warnings.warn(
"gate_finder() is deprecated and will be removed in a future version. "
"Please use sm.pl.napariGater() instead.",
FutureWarning,
stacklevel=2,
)

# If no raw data is available make a copy
if adata.raw is None:
adata.raw = adata
Expand Down

0 comments on commit 1663cf4

Please sign in to comment.