NaturalHistoryMuseum / scratchpads2

Scratchpads 2.0
http://scratchpads.org
GNU General Public License v2.0
199 stars 83 forks source link

Message wording when fetching NCBI data: be clear if successful api call or not, be clear if ncbi has no data for term #6605

Open therobyouknow opened 2 years ago

therobyouknow commented 2 years ago

Ref:

The "Unable to fetch data from NCBI." message is not clear enough: this wording doesn't indicate if Scratchpads failed to fetch from NCBI due to a technical fault OR that it successfully talked to NCBI but NCBI correctly had nothing to return for the term, which is the case in this situation. So an issue needs to be raised to have 2 possible messages: 1) if Scratchpads failed to talk to NCBI (via the API) and 2) if Scratchpads successfully talked to the API for NCBI but NCBI correctly showed no data.

https://github.com/NaturalHistoryMuseum/scratchpads2/issues/6594#issuecomment-1316879613