aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xserver.py1
1 files changed, 1 insertions, 0 deletions
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="<span class='text-danger'>Up to 100 terms can be searched at a time</span>"