VEuPathDB / service-multi-blast

Async BLAST+ query service and supporting libraries.
Apache License 2.0
0 stars 0 forks source link

Catch empty queries. #106

Closed Foxcapades closed 2 years ago

Foxcapades commented 2 years ago

Multi-blast currently allows empty sequences through as long as full query is not empty (the query contains only header lines).

This should catch that issue and prevent empty jobs from making it through.

Resolves #105

Foxcapades commented 2 years ago

Rejected for the following case not being handled:

> header 1

> header 2
aaaaaaaaaaaaaaa
Foxcapades commented 2 years ago

Reopening as the "missed" case is actually handled. The query is broken into separate sequences upstream and the validate method is only validating a single sequence in the query.