nextclade
                                
                                
                                
                                    nextclade copied to clipboard
                            
                            
                            
                        BUG: Clicking on "sort" in Nextclade web while analysis is running makes some sequences show `analyzing` forever
I was impatient and clicked sort by Pango lineage when only 100 or so sequences out of 200 had been analyzed.
To my surprise, some of the sequences that hadn't been analyzed by that time were never shown as analyzed, despite the tree building correctly.
Seems to be a frontend updating bug cause by my clicking of sort while the analysis is running.
Will try to reproduce.
I can reproduce that. A weird monkey bug.
Does not seem to be happening with the normal columns, only with the new "dynamic" columns from tree extensions.
One fix could be to disable sorting buttons until the analysis is complete. It was never entirely clear to me how to handle the incoming results after sorting or filtering is applied anyway. Seems to be a tricky and brittle spot in the codebase, for a very narrow and not very useful use-case.
I found it during normal usage, wasn't trying to do anything crazy. But yeah, it's not critical. Disabling sorting of dynamic columns until finished would be a good fix. Sorting of other columns should remain enabled though, I like to sort things while it analyzes.