diff options
author | zsloan | 2023-05-22 17:21:17 +0000 |
---|---|---|
committer | zsloan | 2023-05-22 17:21:17 +0000 |
commit | 7506b570548f93fe223030679c577b663c55d36f (patch) | |
tree | 55a452255fe8e2d10fae0992b6607a84584a2e62 /wqflask | |
parent | 88d518ed7ce05569b1204136fb314e7c101df8e1 (diff) | |
download | genenetwork2-7506b570548f93fe223030679c577b663c55d36f.tar.gz |
Initialize exonStarts and exonEnds for mouse, since it currently throws an error if there's nothing in the GeneList table for the interval selected
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/marker_regression/display_mapping_results.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wqflask/wqflask/marker_regression/display_mapping_results.py b/wqflask/wqflask/marker_regression/display_mapping_results.py index d23ef7b1..f74060d2 100644 --- a/wqflask/wqflask/marker_regression/display_mapping_results.py +++ b/wqflask/wqflask/marker_regression/display_mapping_results.py @@ -1473,6 +1473,8 @@ class DisplayMappingResults: for gIndex, theGO in enumerate(self.geneCol): geneNCBILink = 'http://www.ncbi.nlm.nih.gov/gene?term=%s' if self.dataset.group.species == "mouse": + exonStarts = [] + exonEnds = [] txStart = theGO["TxStart"] txEnd = theGO["TxEnd"] geneLength = (txEnd - txStart) * 1000.0 |