From 7506b570548f93fe223030679c577b663c55d36f Mon Sep 17 00:00:00 2001 From: zsloan Date: Mon, 22 May 2023 17:21:17 +0000 Subject: Initialize exonStarts and exonEnds for mouse, since it currently throws an error if there's nothing in the GeneList table for the interval selected --- wqflask/wqflask/marker_regression/display_mapping_results.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'wqflask') 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 -- cgit v1.2.3