aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2022-10-31 18:47:01 +0000
committerzsloan2022-10-31 18:47:01 +0000
commitae87d61ee06f975dff7c07293e58ae2900c784df (patch)
treed78d2b94c446400493b3aa3ed5811a46692df665
parentcdf717ca66b7c4346aa0044227d887e4de2b073f (diff)
downloadgenenetwork2-ae87d61ee06f975dff7c07293e58ae2900c784df.tar.gz
Fix error when there's no human data in GeneList
-rw-r--r--wqflask/wqflask/marker_regression/display_mapping_results.py2
1 files changed, 1 insertions, 1 deletions
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: