aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2019-12-11 12:18:59 -0600
committerzsloan2019-12-11 12:18:59 -0600
commit242f230101cc0b43e5cf3f910af160aa0d526267 (patch)
tree16a21574d646a9de371bf3f55f069654d58291d6
parenta5c95ecda29c434c1475635921d77aa35c39033d (diff)
downloadgenenetwork2-242f230101cc0b43e5cf3f910af160aa0d526267.tar.gz
Fixed minor issue that caused chromosome in cis/trans LRS searches to not work when Chr was appended to it
-rw-r--r--wqflask/wqflask/do_search.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/do_search.py b/wqflask/wqflask/do_search.py
index 1fafd181..ace73490 100644
--- a/wqflask/wqflask/do_search.py
+++ b/wqflask/wqflask/do_search.py
@@ -596,7 +596,7 @@ class CisTransLrsSearch(DoSearch):
lrs_min, lrs_max, self.mb_buffer = [float(value) for value in self.search_term[:3]]
chromosome = self.search_term[3]
if "Chr" in chromosome or "chr" in chromosome:
- chromosome = float(chromosome[3:])
+ chromosome = int(chromosome[3:])
else:
SomeError