We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ecf0f2 commit a4e177aCopy full SHA for a4e177a
1 file changed
src/data_processors/process_dataset/script.py
@@ -181,6 +181,7 @@ def subsample_adata_group_balanced(adata, group_key, n_samples, seed=0):
181
adata = adata[subsample_adata_group_balanced(adata, "cell_type", N_MAX_SC, seed=0)]
182
183
# Make the single-cell data gene names unique
184
+adata.var_names = adata.var_names.astype(str)
185
adata.var_names_make_unique()
186
187
# Subset single-cell and spatial data to shared genes
0 commit comments