parsnp
parsnp copied to clipboard
Index error if file is empty
Hi! I am a big fan of parsnp. I was using v1.7.4 so I decided to update parsnp to v2.0.5. However, I get this error:
File "miniconda3/envs/parsnp2/bin/parsnp", line 969, in parse_input_files
if hdr[0] != ">":
~~~^^^
IndexError: string index out of range
It is due to an empty file in my genomes directory, but older versions overcome this problem. Thank you in advance