diff options
author | zsloan | 2022-10-31 18:47:01 +0000 |
---|---|---|
committer | zsloan | 2022-10-31 18:47:01 +0000 |
commit | ae87d61ee06f975dff7c07293e58ae2900c784df (patch) | |
tree | d78d2b94c446400493b3aa3ed5811a46692df665 /wqflask | |
parent | cdf717ca66b7c4346aa0044227d887e4de2b073f (diff) | |
download | genenetwork2-ae87d61ee06f975dff7c07293e58ae2900c784df.tar.gz |
Fix error when there's no human data in GeneList
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/marker_regression/display_mapping_results.py | 2 |
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: |