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 calling genbank_get_genomes_by_taxon.py with the --retries argument, I get a TypeError, because the argument is stored as a string, but evaluated as an integer.
I guess could be most easily fixed if all Integer arguments (--retries, --batchsize and --timeout) would be explicitely set as "type = int" during the respective argparse parser.add_argument() calls.
The text was updated successfully, but these errors were encountered:
You're correct. That's a hole in my testing (script inputs) that I've now got some cover for in the new version. Thank you for spotting it - I'll get it sorted and push out a new version.
This issue should be fixed with commit 69503d3, and I've pushed a new version (v0.2.7) to PyPI and Docker so you should be able to get those with a pip install or docker run.
This should fix the issue, but please do raise another if you find any other problems.
Summary:
When calling
genbank_get_genomes_by_taxon.py
with the--retries
argument, I get a TypeError, because the argument is stored as a string, but evaluated as an integer.I guess could be most easily fixed if all Integer arguments (
--retries
,--batchsize
and--timeout
) would be explicitely set as "type = int" during the respective argparseparser.add_argument()
calls.The text was updated successfully, but these errors were encountered: