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

Don't attempt to download directories of datasets #26

Merged
merged 1 commit into from
Feb 15, 2024

Conversation

daverigby
Copy link
Collaborator

Problem

When downloading a Dataset from GCS, skip any blobs which are just directories. This can cause issues when constructing the parent paths for actual dataset files, as if try to "download" a directory blob it is saved as a normal file and hence we cannot later create a subdirectory of the same name to contain the actual dataset files.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

When downloading a Dataset from GCS, skip any blobs which are just
directories. This can cause issues when constructing the parent paths
for actual dataset files, as if try to "download" a directory blob it
is saved as a normal file and hence we cannot later create a
subdirectory of the same name to contain the actual dataset files.
@daverigby daverigby merged commit 3cf150f into main Feb 15, 2024
7 checks passed
@daverigby daverigby deleted the skip_download_directory_blobs branch February 15, 2024 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant