Skip to content
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

BUG: _autotune_reads_per_batch fails when input is empty #175

Open
nbokulich opened this issue Dec 13, 2021 · 0 comments
Open

BUG: _autotune_reads_per_batch fails when input is empty #175

nbokulich opened this issue Dec 13, 2021 · 0 comments
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.

Comments

@nbokulich
Copy link
Member

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.

@nbokulich nbokulich added type:bug Something is wrong. 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). weight:1|low It is definitely happening in the future. labels Dec 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

1 participant