telatin / bamtocov

🏔 coverage extraction from BAM/CRAM files, supporting targets 📊  
https://telatin.github.io/bamtocov/
MIT License
59 stars 6 forks source link

[BUG] Avoid allowing --report when not target is supplied #1

Closed telatin closed 2 years ago

telatin commented 2 years ago

Describe the bug When specifying --report but omitting --regions unconsistent report is produced (dev("t not in index: " & t))

Expected behavior Error and quit

telatin commented 2 years ago

Fixed with input checks