-
Notifications
You must be signed in to change notification settings - Fork 128
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
Object of type int64 is not JSON serializable #1060
Comments
Hi everyone! |
@eshedroff @fabio-marcelo sorry about this bug, thanks for reporting! The fix in the PR above should be available once it is merged and released in a new Augur version (hopefully sometime next week). If you want to use it immediately, you can do so by installing Augur manually from that PR's branch, or use Nextstrain's Docker runtime with this preview image: nextstrain/base:branch-victorlin-preview-augur-numpy-json-encoder. |
Dear @victorlin thank you for the guidance. |
Current Behavior
Pathogen workflow throwing the following error when building the time-resolved tree: Object of type int64 is not JSON serializable
Expected behavior
Smooth run to generate time-resolved tree (and subsequently annotate and export)
How to reproduce
Steps to reproduce the current behavior:
Possible solution
numpy int should be converted to a Python integer before converting to JSON string
Your environment: if browsing Nextstrain online
Additional context
Files to reproduce errors attached:
EBOV_test.zip
The text was updated successfully, but these errors were encountered: