cerebis / sim3C

Read-pair simulation of 3C-based sequencing methodologies (HiC, Meta3C, DNase-HiC)
GNU General Public License v3.0
19 stars 5 forks source link

Empty fasta files raise exception generating abundance #12

Closed cerebis closed 4 years ago

cerebis commented 4 years ago

Supplying a file which contains no valid fasta records results in an exception being thrown if generate_abundance() is called.

We should add a check for empty lists and emit a useful error.