diff --git a/scdataloader/utils.py b/scdataloader/utils.py index b2df360..84a003c 100644 --- a/scdataloader/utils.py +++ b/scdataloader/utils.py @@ -142,7 +142,7 @@ def getBiomartTable( res = res[~(res["ensembl_gene_id"].isna())] if "hgnc_symbol" in res.columns: res.loc[res[res.hgnc_symbol.isna()].index, "hgnc_symbol"] = res[ - ~res.hgnc_symbol.isna() + res.hgnc_symbol.isna() ]["ensembl_gene_id"] return res