From 2db85d0be07a651337360471be96712aeb4fe20e Mon Sep 17 00:00:00 2001 From: Damien Goutte-Gattat Date: Wed, 18 Oct 2023 17:58:43 +0100 Subject: [PATCH] Do not flag https xref as illegal. Update the chado_load_checks.pl script to avoid flagging https dbxrefs as illegal. We are already allowing http xrefs, so there shouldn't be any issue in allowing https. --- .../release_and_checking_scripts/releases/chado_load_checks.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/release_and_checking_scripts/releases/chado_load_checks.pl b/tools/release_and_checking_scripts/releases/chado_load_checks.pl index c0c3fc505..c6382afc8 100755 --- a/tools/release_and_checking_scripts/releases/chado_load_checks.pl +++ b/tools/release_and_checking_scripts/releases/chado_load_checks.pl @@ -19,6 +19,7 @@ FBC:\; PMID:\d+; http://...; +https://...; ISBN:; CARO:. @@ -133,7 +134,7 @@ sub is_dbxref_legal { &ISBN_check($1) } # If not ISBN, does it follow one of the other legal dbxref syntaxes? - elsif ($_ =~ m/FlyBase\:FBrf\d{7}|VFB_vol\:\d{8}|FBC\:\S+|SO\:ma|FlyBase\:FBim\d{7}|PMID\:\d+|http\:\/\/.+|CARO\:\S+|doi\:\d+\.\d+\/\w+|FlyBrain_NDB\:\d+|FlyPNS\:\S+|DoOR\:\S+|CHEBI\:\d+|GO\:\d+|PATO\:\d+|XCO\:\d+|EFO\:\d+|MeSH\:D\d+|GOC:\S+|GO_REF\:\d+|Reactome\:\d+|SO\:\S+|UniProt\:P\d+|UniProt\:Q\S+|WB_REF\:\S+|FB\:FBrfd{7}|Wikipedia\:\S+/) { + elsif ($_ =~ m/FlyBase\:FBrf\d{7}|VFB_vol\:\d{8}|FBC\:\S+|SO\:ma|FlyBase\:FBim\d{7}|PMID\:\d+|https?\:\/\/.+|CARO\:\S+|doi\:\d+\.\d+\/\w+|FlyBrain_NDB\:\d+|FlyPNS\:\S+|DoOR\:\S+|CHEBI\:\d+|GO\:\d+|PATO\:\d+|XCO\:\d+|EFO\:\d+|MeSH\:D\d+|GOC:\S+|GO_REF\:\d+|Reactome\:\d+|SO\:\S+|UniProt\:P\d+|UniProt\:Q\S+|WB_REF\:\S+|FB\:FBrfd{7}|Wikipedia\:\S+/) { $legal_stat=1; } else { $legal_stat=0