jts / ncov-tools

Small collection of tools for performing quality control on coronavirus sequencing data and genomes
MIT License
47 stars 16 forks source link

Check for empty merged dataframe before plotting #109

Open dfornika opened 8 months ago

dfornika commented 8 months ago

Proposed fix for #108

There may be other ways to handle this but here's one option. If the merged dataframe is empty, write an empty plot (so the snakemake pipeline won't crash due to a missing input) and exit.