From 45be2503e05eefb5bd1944e06466b6f6d97a51ba Mon Sep 17 00:00:00 2001 From: Johnathan Schaff Date: Fri, 2 Feb 2024 12:56:29 -0800 Subject: [PATCH] Add the actual biothings default regex pattern --- src/config_web.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/config_web.py b/src/config_web.py index 9fd0d80..427949d 100644 --- a/src/config_web.py +++ b/src/config_web.py @@ -184,7 +184,11 @@ ANNOTATION_ID_REGEX_LIST = [ *biolink_curie_regex_list, - (re.compile(r"^\d+$"), ["entrezgene", "retired"]), # default regex pattern matching + (re.compile(r"^\d+$"), ["entrezgene", "retired"]), + ( + re.compile(r"(?P\w+):(?P[^:]+)"), + [], + ), # default regex pattern matching ] ANNOTATION_DEFAULT_SCOPES = ["_id", "entrezgene", "ensembl.gene", "retired"]