Skip to content

investigate --validation skip and --allow-any-path decision tree #1074

@satra

Description

@satra

in #1069 it seemed that the CLI is trying to detect if something is a bids dataset (also see #1073).

this issue is about the behavior of the CLI when validation is skipped or any paths are allowed:

  • if any paths are allowed, then there is no guarantee that the path is a bids path. should any bids proximity be checked?
  • same for validation, if it is skipped what does it mean? i think we have two different meanings. for nwb, validation was about running the validator on the nwb file, for bids, validation is about structure of the dataset rather than contents of file.
  • what about metadata? knowing if something is bids allows us to think about metadata better, but if we cannot determine or are being explicitly asked, then technically we should ignore adding any bids specific metadata.
  • what if a bids dataset is detected, do we validate the entire tree or just the partial tree that's relevant to the directory or files being uploaded?

some of the considerations here really come from the standards (nwb is self-contained in a file), bids is a structure around a set of files.

@TheChymera and @yarikoptic - filed here. would be good to discuss the different options.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions