BUG: _autotune_reads_per_batch fails when input is empty #175
Labels
bug-sev:1|negligible
bug-type:1|cosmetic
UX is less than ideal; something is superficially wrong.
diff:2|intermediate
A modest understanding of the languages involved and platform is required.
lang:python
Python 3
scope:0|this-project
No other repositories are impacted.
src:forum
From the QIIME 2 Forum.
time:1|short
Should not take very much time to complete (assuming familiarity).
type:bug
Something is wrong.
weight:1|low
It is definitely happening in the future.
Bug Description
When the query sequence file contains zero sequences,
_autotune_reads_per_batch
fails (because it cannot grep an empty file evidently).Steps to reproduce the behavior
See description and error message reported on forum
Expected behavior
_autotune_reads_per_batch
(or maybe somewhere upstream) should catch this error and raise a more intuitive error message indicating that the inputs are empty.The text was updated successfully, but these errors were encountered: