Skip to content

Commit

Permalink
Update analyses/metacells/scripts/run-seacells.py
Browse files Browse the repository at this point in the history
Co-authored-by: Stephanie Spielman <[email protected]>
  • Loading branch information
jashapiro and sjspielman authored Jul 29, 2024
1 parent f28ae54 commit 38994bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analyses/metacells/scripts/run-seacells.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def run_seacells(
"""

if adata.n_obs < min_cells:
raise ValueError("The dataset must have at least 20 cells to run SEACells")
raise ValueError(f"The dataset must have at least {min_cells} cells to run SEACells")
# reformat the data for compatibility with SEACells and scanpy downstream
adata = convert_adata(adata)

Expand Down

0 comments on commit 38994bc

Please sign in to comment.