You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
"detail": "'SRR7130925' does not match '^\\\\w{3}\\\\d{6}$'\n\nFailed validating 'pattern' in schema:\n {'description': 'SRA ID for a dataset',\n 'in': 'path',\n 'name': 'sra_id',\n 'pattern': '^\\\\w{3}\\\\d{6}$',\n 'type': 'string'}\n\nOn instance:\n 'SRR7130925'",
"status": 400,
"title": "Bad Request",
"type": "about:blank"
}
SRR7130925 is \w{3}\d{7} rather than \w{3}\d{6} as in the error message.
The text was updated successfully, but these errors were encountered:
Hmm, that explains why I was missing some datasets... I'm trying to find where I saw that the format was with 6 numbers, but can't find the ref.
Fixed in master, deployed to wort.oxli.org
(note that it wouldn't work because the auth token is missing, I need to encode that better in the API docs... If you try again it says 'unauthorized' now)
Hello! I tried out the wort API to download this paper's data, which has a bioproject and SRR id (SRR7130925).
Searching for SRR7130925 at the wort api (https://wort.oxli.org/v1/ui/#!/default/wort_blueprints_compute_views_compute_sra) results in this invalid pattern error:
SRR7130925 is
\w{3}\d{7}
rather than\w{3}\d{6}
as in the error message.The text was updated successfully, but these errors were encountered: