You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When resolving the GenBank accession of genome assemblies to the RefSeq accession using the _resolve_genbank_accession() function in podp_antismash_downloader.py, a ValueError occurs if no RefSeq accession exists for the given assembly. This leads to crashes when processing these assemblies.
Steps to Reproduce
Use the NCBI Datasets API to fetch the RefSeq assembly ID for a given GenBank assembly ID.
If a RefSeq accession is available, the function operates as expected. Example:
Bug Report
When resolving the GenBank accession of genome assemblies to the RefSeq accession using the
_resolve_genbank_accession()
function inpodp_antismash_downloader.py
, aValueError
occurs if no RefSeq accession exists for the given assembly. This leads to crashes when processing these assemblies.Steps to Reproduce
refseq_accession
, the function fails. Example:Suggested Fix
Returning an empty string when no RefSeq accession is found.
The text was updated successfully, but these errors were encountered: