-
Notifications
You must be signed in to change notification settings - Fork 110
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
subdataset cannot be retrieved #7274
Comments
Thanks for the issue, and presenting it in the office hour!
suggesting that
With
Instead of using the |
To add to this: It's not just a documentation issue. |
template The `path` property was treated as a special case in `GitRepo.get_submodules_` presumably to not yield redundant information, because what is returned is a dict where the path is the key and the other properties from `.gitmodules` make up the value (another dict), prefixed with `gitmodule_`. However, actual usage from `get` via `subdatasets` suggests, that the easiest is to just yield this "redundant" record. Once as the reported property exactly like `url`, `datalad-id` and whatever else, and in addition let the path remain the key. Throughout that chain the latter gets possibly turned into an absolute path anyway (which is not what we want to report here - it's just for internal use). Closes datalad#7274
template The `path` property was treated as a special case in `GitRepo.get_submodules_` presumably to not yield redundant information, because what is returned is a dict where the path is the key and the other properties from `.gitmodules` make up the value (another dict), prefixed with `gitmodule_`. However, actual usage from `get` via `subdatasets` suggests, that the easiest is to just yield this "redundant" record. Once as the reported property exactly like `url`, `datalad-id` and whatever else, and in addition let the path remain the key. Throughout that chain the latter gets possibly turned into an absolute path anyway (which is not what we want to report here - it's just for internal use). Closes datalad#7274
template The `path` property was treated as a special case in `GitRepo.get_submodules_` presumably to not yield redundant information, because what is returned is a dict where the path is the key and the other properties from `.gitmodules` make up the value (another dict), prefixed with `gitmodule_`. However, actual usage from `get` via `subdatasets` suggests, that the easiest is to just yield this "redundant" record. Once as the reported property exactly like `url`, `datalad-id` and whatever else, and in addition let the path remain the key. Throughout that chain the latter gets possibly turned into an absolute path anyway (which is not what we want to report here - it's just for internal use). Closes datalad#7274
Issue fixed in |
In server:
In my local, after cloning from Gitlab:
In the superdataset
datalad get ...
can retrieve the data. However, in subdataset (mysub), the error below occurs:The text was updated successfully, but these errors were encountered: