From 242f230101cc0b43e5cf3f910af160aa0d526267 Mon Sep 17 00:00:00 2001 From: zsloan Date: Wed, 11 Dec 2019 12:18:59 -0600 Subject: Fixed minor issue that caused chromosome in cis/trans LRS searches to not work when Chr was appended to it --- wqflask/wqflask/do_search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wqflask') 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 -- cgit v1.2.3