Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
c7dad8f
WIP catch all warnings
flying-sheep Jul 21, 2025
422cae9
fix some warnings
flying-sheep Jul 21, 2025
bca40a8
test_get works
flying-sheep Jul 21, 2025
02ecd49
hvg works
flying-sheep Jul 21, 2025
218075e
ingest
flying-sheep Jul 21, 2025
6fc449e
logging
flying-sheep Jul 21, 2025
e909c27
neighbors
flying-sheep Jul 21, 2025
73767d5
normalize and todense
flying-sheep Jul 21, 2025
9ca80b8
plotting
flying-sheep Jul 21, 2025
429d017
preprocessing
flying-sheep Jul 21, 2025
0d9341d
qc
flying-sheep Jul 21, 2025
05a259b
rank_genes_groups
flying-sheep Jul 21, 2025
ff44d3d
scaling
flying-sheep Jul 21, 2025
ab396ee
score_genes
flying-sheep Jul 21, 2025
127f42b
sim
flying-sheep Jul 21, 2025
42c4e68
visium_sge
flying-sheep Jul 21, 2025
504d484
refactor preprocessing
flying-sheep Jul 22, 2025
0393f71
confusion matrix
flying-sheep Jul 22, 2025
6cd59d8
doctests
flying-sheep Jul 22, 2025
ab686b5
rest
flying-sheep Jul 22, 2025
d3991f3
relnote
flying-sheep Jul 22, 2025
66c6810
maybe fix file closing
flying-sheep Jul 22, 2025
50db520
Fix doctest env
flying-sheep Jul 22, 2025
4d3580f
follow advice
flying-sheep Jul 22, 2025
ef938f8
fix rest
flying-sheep Jul 22, 2025
5ed7ecb
try fixing leidenalg
flying-sheep Jul 22, 2025
111a3d6
hopefully this works
flying-sheep Jul 22, 2025
be03a09
excel
flying-sheep Jul 22, 2025
b8806c3
nx
flying-sheep Jul 23, 2025
5d494a9
tSNE
flying-sheep Jul 23, 2025
14533e3
h5py
flying-sheep Jul 23, 2025
fd15637
add version
flying-sheep Jul 23, 2025
3944394
pandas
flying-sheep Jul 23, 2025
91bbdef
broader capture
flying-sheep Jul 23, 2025
2c7aef2
maybe actually the last ones!
flying-sheep Jul 23, 2025
e4334fe
speculative fix
flying-sheep Jul 23, 2025
d55eaf0
more speculative fixing yay
flying-sheep Jul 23, 2025
4b6ec91
i really hope that’s it
flying-sheep Jul 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ filterwarnings = [
'ignore:\n*.*scipy\.sparse array:DeprecationWarning:networkx',
# we want to see and eventually fix these
'default::numba.core.errors.NumbaPerformanceWarning',
'default:.*TSNE.*random.*to.*pca:FutureWarning', # we should set init=obsm["X_pca"] or so
]

[tool.coverage.run]
Expand Down
6 changes: 0 additions & 6 deletions src/scanpy/tools/_tsne.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
import warnings
from typing import TYPE_CHECKING

from packaging.version import Version

from .. import logging as logg
from .._compat import old_positionals
from .._settings import settings
Expand Down Expand Up @@ -111,8 +109,6 @@ def tsne( # noqa: PLR0913
tSNE parameters.

"""
import sklearn

start = logg.info("computing tSNE")
adata = adata.copy() if copy else adata
X = _choose_representation(adata, use_rep=use_rep, n_pcs=n_pcs)
Expand All @@ -129,8 +125,6 @@ def tsne( # noqa: PLR0913
metric=metric,
n_components=n_components,
)
if metric != "euclidean" and (Version(sklearn.__version__) < Version("1.3.0rc1")):
params_sklearn["square_distances"] = True
Comment thread
ilan-gold marked this conversation as resolved.

# Backwards compat handling: Remove in scanpy 1.9.0
if n_jobs != 1 and not use_fast_tsne:
Expand Down
Loading