We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1aee23 commit a27fae1Copy full SHA for a27fae1
ovrlpy/_kde.py
@@ -284,6 +284,6 @@ def _sample_expression(
284
# TODO: sparse?
285
with warnings.catch_warnings():
286
warnings.simplefilter("ignore", category=ImplicitModificationWarning)
287
- adata = AnnData(pd.concat(patches).reset_index(drop=True)[gene_list].fillna(0))
+ adata = AnnData(pd.concat(patches, ignore_index=True)[gene_list].fillna(0))
288
adata.obsm["spatial"] = np.rint(np.vstack(coords) * kde_bandwidth).astype(np.int32)
289
return adata
0 commit comments