cubids.workflows.apply

apply(bids_dir, use_datalad, acq_group_level, config, schema, edited_summary_tsv, files_tsv, new_tsv_prefix, n_cpus=1)[source]

Apply the tsv changes.

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

  • use_datalad (bool) – Use datalad to track changes.

  • acq_group_level ({"subject", "session"}) – Level at which acquisition groups are created.

  • config (pathlib.Path) – Path to the grouping config file.

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

  • edited_summary_tsv (pathlib.Path) – Path to the edited summary tsv.

  • files_tsv (pathlib.Path) – Path to the files tsv.

  • new_tsv_prefix (pathlib.Path) – Path to the new tsv prefix.