Does the Browse or upload datasets
button need fixes?
#19275
bernt-matthias
started this conversation in
General Discussion
Replies: 1 comment 1 reply
-
When you say format and invalid, do you mean wrong datatype or datasets in terminal non-OK states ? That would be bugs. I assume you mean we don't run filters or validators. The data dialog doesn't work with datasets but files and folders, so I don't think there's much to be done ? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The
data dialog
has been added to select datasets from a collections and data libraries with a few clicks less. Unfortunately this bypasses the filters of the parameter and users can select datasets of the wrong format or invalid datasets. In such cases the invalid choice is flagged with the prefix(Unavailable)
- where I never knew what it means.This leads now to the unfortunate situation that tool developers start develop add validators as well as filters to their tools in order to ensure that users really can't feed invalid input to the tools: e.g. here. I'm really wondering now what the suggestions to tool developers are: in which cases to add validators / filters / both? The biggest difference between filters and validators seem to be when they are called and performance implications, since filters might need to run over all elements of a history and validators only on the selected item (I'm still not entirely sure when exactly they run: at selection, at tool submission?).
Also filters and validators are IMO actually quite similar anyway and I remember that I had a hard time to distinguish them when I started to develop tools.
Suggestions:
(Unavailable)
to something like(Invalid choice)
Beta Was this translation helpful? Give feedback.
All reactions