From 1953452d8ddb86d1d0d7916bf0c0b0e7ff8a2ee4 Mon Sep 17 00:00:00 2001 From: Abel Gurung Date: Sun, 7 Apr 2024 01:50:52 -0500 Subject: [PATCH] Removing 'write_knn_indices' arg --- scvelo/preprocessing/neighbors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scvelo/preprocessing/neighbors.py b/scvelo/preprocessing/neighbors.py index ab57d573..baabfb8b 100644 --- a/scvelo/preprocessing/neighbors.py +++ b/scvelo/preprocessing/neighbors.py @@ -37,7 +37,7 @@ def _get_scanpy_neighbors(adata: AnnData, **kwargs): with warnings.catch_warnings(): # ignore numba warning (umap/issues/252) warnings.simplefilter("ignore") neighbors = Neighbors(adata) - neighbors.compute_neighbors(write_knn_indices=True, **kwargs) + neighbors.compute_neighbors(**kwargs) logg.switch_verbosity("on", module="scanpy") return neighbors