Skip to content

Commit

Permalink
Fixed no neighborhood data in h5ad #210
Browse files Browse the repository at this point in the history
  • Loading branch information
Milad4849 committed Dec 13, 2023
1 parent cbc3937 commit cb0cbd2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion steinbock/export/_cli/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,8 @@ def write_anndata(adata, anndata_file, ignore_suffix=False):
del adata
if concatenate:
adata = anndata_concat(
adatas, merge="first", label="Image", index_unique=" in "
adatas, merge="first", label="Image", index_unique=" in ",
pairwise=True
)
obs_cols = list(adata.obs.columns)
obs_cols.insert(0, obs_cols.pop(obs_cols.index("Image")))
Expand Down

0 comments on commit cb0cbd2

Please sign in to comment.