Skip to content
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

Datalad DP cannot provide size for its datasets #134

Open
prioux opened this issue Dec 5, 2018 · 0 comments
Open

Datalad DP cannot provide size for its datasets #134

prioux opened this issue Dec 5, 2018 · 0 comments
Assignees
Labels

Comments

@prioux
Copy link
Member

prioux commented Dec 5, 2018

When registering a collection using the DataladDataProvider, the size is always unset.

That's because the size-setting method crawls through the dataset and builds a sum of the size of all files (skipping directories and symlinks), but because the content of all the files is replaced by symbolic links, not files are found.

It seems Datalad might have a better size-fetching method, it would need to be included as part of the DataProvider API (provider_file_attributes(userfile) maybe?).

@prioux prioux added the bug label Dec 5, 2018
@prioux prioux self-assigned this Dec 5, 2018
@prioux prioux added bidsapp Pertaining to BidsApp Support and removed bidsapp Pertaining to BidsApp Support labels Nov 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant