Skip to content

dandi download enums #1627

@CodyCBakerPhD

Description

@CodyCBakerPhD

While reviewing some PRs I decided to download a full dataset to test on

I used the syntax

dandi download DANDI:001350

but recieved

Usage: dandi download [OPTIONS] [URL]...
Try 'dandi download --help' for help.

Error: Invalid value for '-e' / '--existing': 'error' is not one of 'ERROR', 'SKIP', 'OVERWRITE', 'OVERWRITE_DIFFERENT', 'REFRESH'.

and so on for various flags. To get it to work as expected I had to do instead

dandi download DANDI:001350 -e ERROR -f PYOUT --path-type EXACT

which worked as I expected

Is this behavior intended? Can others reproduce it? If not assign me and I believe I know where and how it goes wrong

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions