Closed frdel1 closed 1 week ago
Hi,
Thanks for reporting this bug and the workaround. It does not seem complicated to fix.
After some testing, the bug also occurs in the annotate
command (and by extension all workflow commands) when using this type of gbff.
The fix for this issue has been released in v2.1.0.
Hi, I am experiencing the following error with ppanggolin projection: Exception: Reading the gbff file '/path/to/some/genomic.gbk' raised an error. Expected type is string, given type was '<class 'NoneType'>'
Steps to reproduce:
Workaround: This error is caused by the extra empty line at the end of the file (line 86756 for the example file NC_004368.gbk above). Delete the extra empty line at the end of the file and ppanggolin projection should run just fine. When downloading the same genome using the NCBI RefSeq assembly instead of the genome accession number, the downloaded gbff file does not have the extra empty line at the end of the file and ppanggolin projection runs fine.