cubids.workflows.print_metadata_fields
- print_metadata_fields(bids_dir)[source]
Print unique metadata fields from a BIDS dataset.
This function identifies and prints all unique metadata fields from the dataset_description.json file in a BIDS directory. It can run either directly in Python or within a specified container (Docker or Singularity).
- Parameters:
bids_dir (
pathlib.Path) – Path to the BIDS directory containing the dataset_description.json file.- Raises:
SystemExit – Raised in the following cases: - The dataset_description.json file is not found in the BIDS directory.