Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yihming committed Jun 28, 2024
1 parent bee45e3 commit f966aba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pegasus/tools/pseudobulk.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ def _run_pydeseq2(
)
dds.deseq2()

if isinstance(contrasts, str):
if isinstance(contrasts, Tuple):
contrasts = [contrasts]
if isinstance(de_key, str):
de_key = [de_key]
Expand Down Expand Up @@ -338,7 +338,7 @@ def _run_rdeseq2(

dds = deseq2.DESeq(dds)

if isinstance(contrasts, str):
if isinstance(contrasts, Tuple):
contrasts = [contrasts]
if isinstance(de_key, str):
de_key = [de_key]
Expand Down

0 comments on commit f966aba

Please sign in to comment.