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
{{ message }}
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.
Right now, you need to enter the exact name of each file required, which is quite time consuming. It would be nice to allow more flexibility in using python data/download_data.py. For example, the --resource flag could accept unix-style pattern matching, e.g.
# Download all file starting with data.retriever
python data/download_data.py --resource "data.retriever.*"# Download dev splits of retriever
python data/download_data.py --resource "data.retriever.*-dev"# Download all data
python data/download_data.py --resource "data.*"
This can be easily done with fnmatch. I have personally implemented that and I'm happy to open a PR if it's welcomed
The text was updated successfully, but these errors were encountered:
xhluca
changed the title
Allowing unix-style pattern matching in download_data.py
[Feature Request] Allowing unix-style pattern matching in download_data.pyAug 2, 2022
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Right now, you need to enter the exact name of each file required, which is quite time consuming. It would be nice to allow more flexibility in using
python data/download_data.py
. For example, the--resource
flag could accept unix-style pattern matching, e.g.This can be easily done with
fnmatch
. I have personally implemented that and I'm happy to open a PR if it's welcomedThe text was updated successfully, but these errors were encountered: