From 19bc3078c06bef3c10c55dc6e69018e595d07d17 Mon Sep 17 00:00:00 2001 From: Hao Chen Date: Sat, 1 Jun 2019 18:13:23 -0500 Subject: ignore LOCxxx --- server.py | 1 + 1 file changed, 1 insertion(+) (limited to 'server.py') diff --git a/server.py b/server.py index 7efdd5f..d312a5a 100755 --- a/server.py +++ b/server.py @@ -24,6 +24,7 @@ def progress(): genes=request.args.get('query') genes=genes.replace(",", " ") genes=genes.replace(";", " ") + genes=re.sub(r'\bLOC\d*?\b', "", genes, flags=re.I) genes=genes.split() if len(genes)>=100: message="Up to 100 terms can be searched at a time" -- cgit v1.2.3