-
Notifications
You must be signed in to change notification settings - Fork 7
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
Make file filters more intuitive #207
Comments
--data-files
and --metadata-files
options to download-bundle
better--data-files
and --metadata-files
options better
This comment may be helpful but ignore it if it isn't. The For example, I wanted to only download metadata files so I expected to pass the flag |
@hewgreen can you give us an example command line? |
@malloryfreeberg @willrockout @rolando-ebi This command will only give you the links file: dropping Is this intuitive? |
@hewgreen I'm in agreement with you I would expect
Also, I think it would be beneficial to have an example for the possible arguments to feed to |
Just regarding no flags = give me everything in the bundle Does that look right? @malloryfreeberg @willrockout @rolando-ebi |
@hewgreen I don't think the double flag should mean give me no files. I don't really see a use case where you'd use download and not want any files. |
The rest looks good! |
I'm not saying you every want that. I'm just saying thats where the logic follows. It would be the same as the current |
Another proposal:
Internally |
I propose another slight tweak to the above:
Specifying both |
IMHO, --data-only and --metadata-only is a bit clearer.
Hannes Schmidt <notifications@github.com> writes:
… I propose another slight tweak to the above:
1. rename --data-files to --data-filter
2. rename --metadata-files to --metadata-filter
3. Add --no-data as an alias of --data-filter ""
4. Add --no-metadata as an alias of --metadata-filter ""
5. Add all of the above to hca dss download-manifest as well
Specifying both --no-data and --no-metadata simultaneously could be disallowed
but we will be adding the download of the actual bundle object (bundle.json) as
a third artifact. With --no-data --no-metadata a user would only get the bundle
object.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.*
|
@hannes-ucsc I assume that this ticket is now to change metadata_files and data_files to match the spec you outline:
Is that correct? |
Correct. My problem with As I write this I notice that there will be a 3rd category of files, as I mention in the section you quote: |
Convinced, --no-data makes lots of sense. |
--data-files
and --metadata-files
options betterAdd two new options: - `--no-data` and - `--no-metadata` and rename `--metadata-files` and `--data-files` to `--metadata-filter` and `--data-filter` respectively.
Add two new options: - `--no-data` and - `--no-metadata` and rename `--metadata-files` and `--data-files` to `--metadata-filter` and `--data-filter` respectively.
Add two new options: - `--no-data` and - `--no-metadata` and rename `--metadata-files` and `--data-files` to `--metadata-filter` and `--data-filter` respectively.
Add two new options: - `--no-data` and - `--no-metadata` and rename `--metadata-files` and `--data-files` to `--metadata-filter` and `--data-filter` respectively.
Add two new options: - `--no-data` and - `--no-metadata` and rename `--metadata-files` and `--data-files` to `--metadata-filter` and `--data-filter` respectively.
--data-files
to--data-filter
--metadata-files
to--metadata-filter
--no-data
as an alias of--data-filter ""
--no-metadata
as an alias of--metadata-filter ""
hca dss download-manifest
as wellSpecifying both
--no-data
and--no-metadata
simultaneously could be disallowed but we will be adding the download of the actual bundle object (bundle.json) as a third artifact. With--no-data
--no-metadata
a user would only get the bundle object.The text was updated successfully, but these errors were encountered: