-
Notifications
You must be signed in to change notification settings - Fork 61
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
In web GUI when clicking on tree, getting "Type Error: undefined is not an iterable" #1547
Comments
This is the tree JSON Sequences file shared here: https://neherlab.slack.com/archives/C015PFP5V44/p1731427390199829?thread_ts=1731427358.196439&cid=C015PFP5V44 |
I think this is an upstream bug, as I've encountered it outside of Auspice as well: nextstrain/auspice#1895 We could potentially handle Auspice bugs like this better and not crash all of Nextclade, just say "Auspice crashed" and still allow the user to navigate back to the results table. |
Should we revert #1546 until upstream fixes this? @ivan-aksamentov |
@corneliusroemer Done (should be up soon) |
Great thanks! What do you think about not crashing on Auspice errors? Probably not really that important as Auspice crashes rarely but if it's easy to do :) |
@corneliusroemer I don't have an immediate idea of how to do this - there's React components which can probably be isolated with an error boundary. But there is also a more global Redux stuff, which is more difficult to isolate. It's quite tightly integrated actually. Might take some work to figure out. I prefer nothing to be crashing ideally :) |
I'll close this, because there's not much actionable in Nextclade. We'll wait for a new version from dependabot and upgrade as usual. |
Not sure how to reproduce, but seems worth looking into:
I ran Nextclade like this:
https://master.clades.nextstrain.org/?dataset-name=nextstrain/sars-cov-2/BA.2.86&input-tree=https://nextstrain.org/charon/getDataset?prefix=staging/nextclade/sars-cov-2/BA.2.86
With data from GISAID shared via Slack
What's strange is that this error only happened after roughly the following sequence:
The text was updated successfully, but these errors were encountered: