Skip to content

Commit

Permalink
Fix warning for DA
Browse files Browse the repository at this point in the history
  • Loading branch information
justjhong authored Sep 27, 2024
1 parent f1f58b9 commit 02e5cd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scvi/external/mrvi/_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,7 @@ def differential_abundance(
if n_cov_values > n_samples / 2:
warnings.warn(
f"The covariate '{key}' does not seem to refer to a discrete key. "
f"It has {len(n_cov_values)} unique values, which exceeds one half of the "
f"It has {n_cov_values} unique values, which exceeds one half of the "
f"total samples ({n_samples}).",
UserWarning,
stacklevel=2,
Expand Down

0 comments on commit 02e5cd2

Please sign in to comment.