-
Notifications
You must be signed in to change notification settings - Fork 163
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
Blank metadata download #1411
Comments
I've just encountered this bug, too. It's definitely highly selective in when it happens. This is the tree where it occured: This is a screenshot where one can see the issue with It may have something to do with cache? The download seems to have been called a different name than the new dataset. I saw the date as being 30th of September, when the current file is from 4th of October. And I just updated over the last half hour or so. Maybe this helps you finding the bug @jameshadfield |
Edit: I looked up web requests and the metadata seems already downloaded, so this failure mode is implausible now.
|
Just have this happening again - very weird. Sometimes download is empty now (usually not the first download, but after browsing around) - sometimes it's the tips that were previously highlighted (before I zoomed out via minus lens) |
Hah, I can reproduce it on this tree: https://next.nextstrain.org/fetch/genome.ucsc.edu/trash/ct/subtreeAuspice1_genome_2ff8b_f80b50.json?label=id:node_6763511 This node produces proper download: But this node results in empty download: I'll download the tree as it is not permanently saved by Usher (just delete the .txt, it's required for upload to Github): Here are some of the logs, not sure if this is helpful: Steps:
|
I think I know what the issue is: it's a bug to do with the Here's what I found: For some reason, when you open a tree with that label parameter, metadata will only ever output tips that are below the node that you loaded the tree with. So if you download metadata for that internal node, or any child node, all is fine. However, as soon as you zoom out, you stop getting extra metadata, you will only ever get at most what's below that node (zoom out and observe that the file size remains the same). When you zoom to a different internal node that doesn't have the initial node as a child, this results in the intersection being empty, hence the empty metadata download. |
Wow, nice find @corneliusroemer! I am able to reproduce the bug by loading any tree with the The reason the nodes are being excluded in the metadata download is because the Now to trace down why the |
Hmm, @jameshadfield I will need a refresher on When clicking on "Reset Layout", The metadata download only checks the |
Current Behavior
For some datasets or zoom levels, the downloaded per-strain metadata is a file with one line:
Expected behavior
The downloaded metadata should reflect all strains currently selected (i.e. in the header, "Showing X of Y genomes").
How to reproduce
Steps to reproduce the current behavior:
Will add soon
Your environment: if browsing Nextstrain online
Additional context
The text was updated successfully, but these errors were encountered: