Skip to content

Commit 2a8c499

Browse files
committed
fixed concatenate default for index names
1 parent 8114188 commit 2a8c499

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

anndata/base.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1300,7 +1300,7 @@ def copy(self, filename=None):
13001300
copyfile(self.filename, filename)
13011301
return AnnData(filename=filename)
13021302

1303-
def concatenate(self, *adatas, join='inner', batch_key='batch', batch_categories=None, index_unique='-'):
1303+
def concatenate(self, *adatas, join='inner', batch_key='batch', batch_categories=None, index_unique=None):
13041304
"""Concatenate along the observations axis after intersecting the variables names.
13051305
13061306
The `.var`, `.varm`, and `.uns` attributes of the passed adatas are ignored.
@@ -1315,7 +1315,7 @@ def concatenate(self, *adatas, join='inner', batch_key='batch', batch_categories
13151315
Add the batch annotation to `.obs` using this key.
13161316
batch_categories : list, optional (default: `range(len(adatas)+1)`)
13171317
Use these as categories for the batch annotation.
1318-
index_unique : `str` or `None`, optional (default: None)
1318+
index_unique : `str` or `None`, optional (default: `None`)
13191319
Make the index unique by joining the existing index names with the
13201320
batch category. Provide `None` to keep existing indices.
13211321

0 commit comments

Comments
 (0)