Skip to content

Commit

Permalink
error message for paga_path regarding dpt 2
Browse files Browse the repository at this point in the history
  • Loading branch information
falexwolf committed Nov 5, 2018
1 parent d7d39c8 commit 4f93c64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scanpy/plotting/tools/paga.py
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,7 @@ def paga_path(
groups_key = adata.uns['paga']['groups']
groups_names = adata.obs[groups_key].cat.categories

if 'dpt_pseudotime' is not adata.obs.keys():
if 'dpt_pseudotime' not in adata.obs.keys():
raise ValueError(
'`pl.paga_path` requires computation of a pseudotime `tl.dpt` '
'for ordering at single-cell resolution')
Expand Down

0 comments on commit 4f93c64

Please sign in to comment.