From bbc05a2a8d4af166b40eab13f4ec370758896e33 Mon Sep 17 00:00:00 2001 From: maestro-jk Date: Mon, 18 Nov 2024 11:32:32 +0100 Subject: [PATCH] reverting previous commit issue --- scdataloader/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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