Skip to content

Need better error message when there are no hits #65

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

Open
joelnitta opened this issue Feb 20, 2025 · 0 comments
Open

Need better error message when there are no hits #65

joelnitta opened this issue Feb 20, 2025 · 0 comments

Comments

@joelnitta
Copy link
Contributor

Successful query:

> gb_sequence_get(id = id_2, dnabin = TRUE)
2 DNA sequences in binary format stored in a list.

Mean sequence length: 104878 
   Shortest sequence: 16568 
    Longest sequence: 193188 

Labels:
KF683087
AC092140

Base composition:
    a     c     g     t 
0.293 0.240 0.208 0.260 
(Total: 209.76 kb)

Query with no hits returns unclear error message:

> gb_sequence_get(id = "x", dnabin = TRUE)
strsplit(sqs, "") でエラー: 文字列でない引数です
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant