Skip to content

Commit d6df534

Browse files
committed
Update utag output
1 parent 49b51ca commit d6df534

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/squidpy/gr/_niche.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def calculate_niche(
110110
if is_sdata:
111111
sdata.tables[f"{flavor}_niche"] = new_feature_matrix
112112
else:
113-
adata.obsm[f"{flavor}_niche"] = new_feature_matrix
113+
adata.layers["utag"] = new_feature_matrix
114114

115115

116116
def _calculate_neighborhood_profile(

0 commit comments

Comments
 (0)