nextclade icon indicating copy to clipboard operation
nextclade copied to clipboard

BUG: Clicking on "sort" in Nextclade web while analysis is running makes some sequences show `analyzing` forever

Open corneliusroemer opened this issue 3 years ago • 2 comments

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.

corneliusroemer avatar Mar 19 '22 17:03 corneliusroemer

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.

ivan-aksamentov avatar Mar 19 '22 21:03 ivan-aksamentov

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.

corneliusroemer avatar Mar 21 '22 12:03 corneliusroemer