Skip to content

Commit

Permalink
Fix a previously no effect line
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerry committed Apr 24, 2020
1 parent 2c37c9c commit a7cd1d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/config_web.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
# *****************************************************************************
# User Input Control
# *****************************************************************************
DEFAULT_SCOPES = ['_id', 'entrezgene', 'retired', 'ensembl.gene']
DEFAULT_FIELDS = ['name', 'symbol', 'taxid', 'entrezgene']

TAXONOMY = {
Expand Down Expand Up @@ -178,8 +177,9 @@
# This essentially bypasses the es.get fallback as in myvariant...
# The first regex matched integers, in which case the query becomes against
# entrezgeneall annotation queries are now multimatch against the following fields
ANNOTATION_ID_REGEX_LIST = [(re.compile(r'^\d+$'), ['entrezgene', 'retired']),
(re.compile(r'.*'), ['ensembl.gene'])]
ANNOTATION_ID_REGEX_LIST = [(re.compile(r'^\d+$'), ['entrezgene', 'retired'])]
ANNOTATION_DEFAULT_SCOPES = ['_id', 'ensembl.gene']

# for error messages
ID_REQUIRED_MESSAGE = 'Gene ID Required'
ID_NOT_FOUND_TEMPLATE = "Gene ID '{bid}' not found"
Expand Down

0 comments on commit a7cd1d7

Please sign in to comment.