aboutsummaryrefslogtreecommitdiff
path: root/wqflask/wqflask/do_search.py
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask/wqflask/do_search.py')
-rwxr-xr-xwqflask/wqflask/do_search.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/wqflask/wqflask/do_search.py b/wqflask/wqflask/do_search.py
index 617d7942..a6f9c949 100755
--- a/wqflask/wqflask/do_search.py
+++ b/wqflask/wqflask/do_search.py
@@ -861,7 +861,10 @@ class PositionSearch(DoSearch):
try:
self.chr = int(self.chr)
except:
- self.chr = int(self.chr.replace('chr', ''))
+ if 'chr' in self.chr:
+ self.chr = int(self.chr.replace('chr', ''))
+ else:
+ self.chr = int(self.chr.replace('CHR', ''))
def run(self):