bokulich-lab / q2-fondue

Functions for reproducibly Obtaining and Normalizing Data re-Used from Elsewhere
BSD 3-Clause "New" or "Revised" License
20 stars 6 forks source link

Raise error when no sequences present #61

Closed misialq closed 2 years ago

misialq commented 2 years ago

It appears that when neither paired- nor single-read sequences were saved as artifacts, the action (get-sequences or get-all) still returns successfully (as format validation passes even on empty fastq files). It should, however, fail when there are no files in either of the two.

Note: I'm not sure what caused this behaviour - still investigating. Will add steps to reproduce when found. Regardless of that, I think this behaviour should not be expected.