Skip to content

config wildcard ignores: ignored #133

@bpinsard

Description

@bpinsard

I am trying to ignore a set of errors when running the validator on a datalad without any file fetched.

Here is the config I wrote following https://github.com/bids-standard/bids-validator/blob/main/docs/user_guide/command-line.md#configuration-file

{
  "ignore": [
    {"code": "TSV_COLUMN_MISSING", "location": "/**/*_scans.tsv"},
    {"code": "TSV_ADDITIONAL_COLUMNS_UNDEFINED", "location": "/**/*_scans.tsv"},
    {"code": "SCANS_FILENAME_NOT_MATCH_DATASET"}
  ]
}

But the errors keep showing up (except the last ignore SCANS_FILENAME_NOT_MATCH_DATASET ).
I tried different type of globbing patterns, but none seems to work.
Are wildcard patterns supported? If so in which format?
Thanks!

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