-
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
When using ?input-fasta=
url query param without specifying dataset, web auto-starts analysis (prematurely)
#1436
Comments
Per Ivan this works as intended. So what I'm suggesting is to change behavior to the following:
|
Note for myself: "not using state", selected dataset in this case, implies dataset autodetection at boot and then running with it. Not entirely straightforward with the current code organization. Need to move things around probabaly. |
Ah autodetect is a state that should be kept, states that shouldn't be used are all the ones that can be URL param configured, assume they are unset for a reason. I'm not sure autodetect behavior is very crucial here one way or another. |
I mean the situation if you decide we don't use dataset saved in local storage, and when it's not passed as URL param, but Or you propose to not start unless both There are so many possible combinations that I am confused now. |
Don't assume one, I'd say? Only use autorun when people specify a dataset to be safe. Yeah this might technically be breaking some people's links but I don't think many people use just input fasta and no specified dataset. We could check logs just in case :)
Indeed! |
When you just pass the input-fasta URL param, Nextclade web autostarts the analysis, but it shouldn't.
It should instead just load the sequences and do auto-dataset-detection
Repro:
Instead the dataset that's set in browser storage/cookies is used (wrongly)
It's possible that in order to reproduce it, it's necessary to first load a custom dataset (so that the storage is set appropriately
The text was updated successfully, but these errors were encountered: