Skip to content

Commit

Permalink
fix compat function
Browse files Browse the repository at this point in the history
  • Loading branch information
justjhong committed Feb 5, 2022
1 parent 1f9ccc5 commit 5d0db8c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scvi/data/anndata/_compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,8 @@ def manager_from_setup_dict(
field = ProteinObsmField(
REGISTRY_KEYS.PROTEIN_EXP_KEY,
attr_key,
"_scvi_batch",
use_batch_mask=True,
batch_key="_scvi_batch",
colnames_uns_key="_protein_names",
)
setup_kwargs["protein_expression_obsm_key"] = attr_key
Expand Down

0 comments on commit 5d0db8c

Please sign in to comment.