You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
datalad-gooey does full parameter validation not, and because of that fails on any parameter that has an EnsureDataset constraint, because it does not use string paths internally, but Path objects.
This is a bit ironic, because EnsureDataset does not actually do anything other than rejecting anything that is not a str or Dataset instance.
I will replace this constraint in Gooey with something more useful, because the rational in the code doesnot apply there:
# we cannot convert to a Dataset class right here
# - duplicates require_dataset() later on
# - we need to be able to distinguish between a bound
# dataset method call and a standalone call for
# relative path argument disambiguation
#return Dataset(path=value)
Ultimately, datalad-core will need to do something about it, when it would start validating Python command arguments.
datalad-gooey
does full parameter validation not, and because of that fails on any parameter that has anEnsureDataset
constraint, because it does not use string paths internally, butPath
objects.This is a bit ironic, because
EnsureDataset
does not actually do anything other than rejecting anything that is not astr
orDataset
instance.I will replace this constraint in
Gooey
with something more useful, because the rational in the code doesnot apply there:Ultimately, datalad-core will need to do something about it, when it would start validating Python command arguments.
datalad/datalad-gooey#298
The text was updated successfully, but these errors were encountered: