-
Notifications
You must be signed in to change notification settings - Fork 8
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
Error if no results in epmc_search? #20
Comments
Agreed, it is more sensible to return |
Great, thanks. At least with an empty table you can still add the hit_count attribute, but NULL works too. |
njahn82
added a commit
that referenced
this issue
May 18, 2017
njahn82
added a commit
that referenced
this issue
May 18, 2017
returning NULL instead of error when nothing was found #20
@cstubben is now on master branch, hope, it works for you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I sometimes run epmc_search in a loop, and if no results are found, it exits with an error. Right now I'm checking error messages, but it might be better if "No results found" returns a message and empty table instead?
The text was updated successfully, but these errors were encountered: