Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error for contigs that do not contain coding regions using -p meta #44

Closed
geronimp opened this issue Sep 27, 2023 · 2 comments
Closed
Labels
bug Something isn't working

Comments

@geronimp
Copy link

Hello,

Thanks for the great tool. When using pyrodigal v3.0.0 an error is thrown when a contig that does not contain a coding region is encountered. I came across this issue when using -p meta mode using the contig in the attached file.

pyrodigal -p meta -d outgene.fna -o outgene.gff -i blank_example.txt
Error: 'NoneType' object has no attribute 'description'

blank_example.txt

@althonos althonos added the bug Something isn't working label Sep 27, 2023
@althonos
Copy link
Owner

Hi @geronimp, thank you for your report. I have fixed the bug, which affected both Genes.write_gff and Genes.write_scores, and made a new patch release v3.0.1.

@geronimp
Copy link
Author

Much appreciated, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants