diff options
author | zsloan | 2019-12-11 10:59:02 -0600 |
---|---|---|
committer | zsloan | 2019-12-11 10:59:02 -0600 |
commit | a9bbef5ef25deb39bae030a147fc15e31fa7ac3a (patch) | |
tree | 9e125e21a4e6eb1b0b53f1c097d61fc5e1629aa0 /wqflask | |
parent | 03cc3b4c9d0fb58c9b26fa1df1fac485b73b6e8c (diff) | |
download | genenetwork2-a9bbef5ef25deb39bae030a147fc15e31fa7ac3a.tar.gz |
Fixed issue where searching for X (or any letter) chromosome with position search didn't work
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/do_search.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/do_search.py b/wqflask/wqflask/do_search.py index 12338401..42aca2cb 100644 --- a/wqflask/wqflask/do_search.py +++ b/wqflask/wqflask/do_search.py @@ -797,7 +797,7 @@ class PositionSearch(DoSearch): self.chr = str(chr).lower() self.get_chr() - where_clause = """ %s.Chr = %s and + where_clause = """ %s.Chr = '%s' and %s.Mb > %s and %s.Mb < %s """ % self.mescape(self.dataset.type, self.chr, |