Skip to content

Commit

Permalink
add parser query
Browse files Browse the repository at this point in the history
  • Loading branch information
choang committed Jul 20, 2023
1 parent 17dd17d commit 6b9f1be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gget/gget_enrichr.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def enrichr(
if background_list and ensembl_bkg:
background_list = ensembl_to_gene_names(background_list)

if isinstance(background_list, type(None)):
if not isinstance(background_list, type(None)):
if len(background_list) == 0 and ensembl:
logging.error("No background gene symbols found for given Ensembl IDs.")
return
Expand Down

0 comments on commit 6b9f1be

Please sign in to comment.