-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WBM60 strain causes search to fail even though the strain exists. #324
Comments
Example perl script query:
|
Hello,
I am sure I keep unsubbing from these lists, but I still
occasionally receive emails.
Can someone remove me from the WormBase git repositories once and for all.
Thank you,
Mary Ann
…On Thu, Feb 25, 2021 at 5:48 PM Paul Davis ***@***.***> wrote:
Example perl script query:
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#324 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKL2QUSWZ73DPESKTJAMADTA2EPZANCNFSM4YG52HXA>
.
|
@tuli as it's github you probably need to login and leave all the repos you signed up to as I don't believe anyone in WB can just kick you? P |
@tuli if you go to your profile you can leave the WormBase organisation which will remove you from all WB repos. You can probably resolve it faster for yourself as it's only just gone 3:30AM for Todd and he's the only person who can do it. |
Thanks.
I am already not part of WormBase, I am part of GigaScience and the ISB. I
have chosen to permanently ignore GeneNames so that should do the trick.
…On Fri, Feb 26, 2021 at 10:39 AM Paul Davis ***@***.***> wrote:
@tuli <https://github.com/tuli> if you go to your profile you can leave
the WormBase organisation which will remove you from all WB repos. You can
probably resolve it faster for yourself as it's only just gone 3:30AM for
Todd and he's the only person who can do it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#324 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKL2QUKXL2EDPRWMDUEM4DTA527LANCNFSM4YG52HXA>
.
|
@Paul-Davis Your guess was correct, search for this particular strain fails because of its resemblance to wormbase IDs (identified by the API as FYI: the API returns an error message that indicates this when queried directly: $ curl --no-progress-meter -X "GET" -H "Authorization: Token $WB_API_KEY" -H "Accept: application/json" 'https://names.wormbase.org/api/entity/strain?pattern=WBM60' | jq .
{
"matches": [],
"message": "Identifier must contain at least 7 digits (received 2)."
} |
Fix implemented, searching for WB-ID-like patterns with < 7 digits will now result in the return of exact matches only (with a warning message) by the API, rather than no matches at all. Autocomplete will still not return anything. Release and deployment still to be done, combined with #304 |
@sdiamantakis A fix for this has now been deployed to production. Searching for WB-ID-like patterns will now return results when the pattern has an exact match on the database, or if the search pattern has 7 or more digits (like |
Epic! Thanks @mluypaert ! |
I believe that this is caused by the autocomplete "hack"/Edit where if the search string starts with WB but has less than ?7 characters then the search does not kick in correctly?
WBM60 - WBStrain00040333
The autocomplete work around was put in place to stop returning every Variation/Strain/Gene as the user typed. I thought that this was exclusively for the UI end points but it seems the perl API also uses it?
The text was updated successfully, but these errors were encountered: