Skip to content

upload,validate: Add --validators option #1737

@yarikoptic

Description

@yarikoptic

ATM we already interface multiple validators in dandi-cli. There are use cases which might ask for disabling or enabling some. Eg.

  • in cases of partial uploads of BIDS datasets we might want to disable bids-validator-deno as it would not have access to full dataset and just rely on bidsschematools which I believe we do not report otherwise (we do use it to extract metadata though)
  • ...

So I think we should add an option like

  • --validators auto,all,bidsschematools,bids-validator-deno,zarr,...

where currently it is like auto as we do not bother with bids-validator(s) if we do not see it being a bids dandiset. With all it would really enable all of them.

Also I now created configuration label to mark issues which would point to specific options people must be able to specify for their dandisets locally (or globally).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions