From ae87d61ee06f975dff7c07293e58ae2900c784df Mon Sep 17 00:00:00 2001 From: zsloan Date: Mon, 31 Oct 2022 18:47:01 +0000 Subject: Fix error when there's no human data in GeneList --- wqflask/wqflask/marker_regression/display_mapping_results.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wqflask/wqflask/marker_regression/display_mapping_results.py b/wqflask/wqflask/marker_regression/display_mapping_results.py index baae95e0..dfd4bd87 100644 --- a/wqflask/wqflask/marker_regression/display_mapping_results.py +++ b/wqflask/wqflask/marker_regression/display_mapping_results.py @@ -3146,7 +3146,7 @@ class DisplayMappingResults: mouseChr = mouseTxStart = "" # the chromosomes for human 1 are 1qXX.XX - if theGO['humanGene']: + if 'humanGene' in theGO: humanChr = theGO['humanGene']["Chr"] humanTxStart = "%0.6f" % theGO['humanGene']["TxStart"] else: -- cgit v1.2.3