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

Update datasets.yaml #711

Merged
merged 1 commit into from
Feb 25, 2022
Merged

Update datasets.yaml #711

merged 1 commit into from
Feb 25, 2022

Conversation

hoxbro
Copy link
Member

@hoxbro hoxbro commented Feb 25, 2022

What is defined in regex is removed from the filename not kept.
Before: /home/shh/.intake/cache/7f9708758ba435683113a36d5d76f3db/assets.holoviews.org/data/.parq
After: /home/shh/.intake/cache/032a8a7804d6ce7538724a8e4880f80e/airline_flights.parq

What is defined in regex is removed from the filename.
Before: `/home/shh/.intake/cache/7f9708758ba435683113a36d5d76f3db/assets.holoviews.org/data/.parq`
After: `/home/shh/.intake/cache/032a8a7804d6ce7538724a8e4880f80e/airline_flights.parq`
@jbednar
Copy link
Member

jbednar commented Feb 25, 2022

Thanks! What's the symptom that this fix addresses? Caching failing to recognize the file having already been downloaded?

@hoxbro
Copy link
Member Author

hoxbro commented Feb 25, 2022

This solves nothing related to the caching this should be solved upstream.

The current implementation works and will download a file, my suggested changes will give it the correct filename in the cache folder e.g. airline_flights.parq instead of the current implementation which creates two folders and have an filename with only the extension in it assets.holoviews.org/data/.parq.

@jbednar jbednar merged commit 7e53a2c into master Feb 25, 2022
@hoxbro hoxbro deleted the intake-regex branch February 25, 2022 18:11
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.

2 participants