Skip to content

Commit

Permalink
Make obs names unique
Browse files Browse the repository at this point in the history
  • Loading branch information
nictru committed Jan 28, 2024
1 parent 55e42f5 commit 53da830
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/merge_datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@

# Make sure that there are no underscores in the cell names
adata.obs_names = adata.obs_names.str.replace("_", "-")
adata.obs_names_make_unique()

# Convert to CSR matrix
adata.X = csr_matrix(adata.X)
Expand Down

0 comments on commit 53da830

Please sign in to comment.