Skip to content

Commit

Permalink
No duplicate names
Browse files Browse the repository at this point in the history
  • Loading branch information
michalk8 committed Nov 2, 2023
1 parent 55af84f commit 96e22c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_kernels.py
Original file line number Diff line number Diff line change
Expand Up @@ -1151,7 +1151,7 @@ def test_explicit_initialization(self, adata: AnnData, correct_shape: bool):
val = np.abs(rng.normal(size=(n, m)))
if not correct_shape:
val = AnnData(val)
val.obs_names = list(adata.obs_names[col == src]) + [adata.obs_names[-1]]
val.obs_names = list(adata.obs_names[col == src]) + ["foo"]
val.var_names = adata.obs_names[col == tgt]
couplings[src, tgt] = val

Expand Down

0 comments on commit 96e22c8

Please sign in to comment.