cubids.workflows.validate

validate(bids_dir, output_prefix, sequential, sequential_subjects, local_validator, ignore_nifti_headers, schema)[source]

Run the bids validator.

Parameters:
  • bids_dir (pathlib.Path) – Path to the BIDS directory.

  • output_prefix (pathlib.Path) – Output filename prefix.

  • sequential (bool) – Run the validator sequentially.

  • sequential_subjects (list of str) – Filter the sequential run to only include the listed subjects.

  • local_validator (bool) – Use the local bids validator.

  • ignore_nifti_headers (bool) – Ignore NIfTI headers when validating.

  • schema (pathlib.Path or None) – Path to the BIDS schema file.