Skip to content

Commit

Permalink
Fix AnnData strategy (#616)
Browse files Browse the repository at this point in the history
Reset `min_varm` and `max_varm` if `varm_keys` is specified.
  • Loading branch information
WeilerP authored Aug 4, 2021
1 parent 13d0d3c commit 37c5a66
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/core/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ def get_adata(
if obsm_keys is not None:
min_obsm = len(obsm_keys)
max_obsm = len(obsm_keys)
if varm_keys is not None:
min_varm = len(varm_keys)
max_varm = len(varm_keys)
if obs_col_names is not None:
min_obs_cols = len(obs_col_names)
max_obs_cols = len(obs_col_names)
Expand Down

0 comments on commit 37c5a66

Please sign in to comment.