cubids.workflows.apply

apply(bids_dir, use_datalad, acq_group_level, config, edited_summary_tsv, edited_tsv_prefix, files_tsv, new_tsv_prefix, output_prefix, container)[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.

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

  • edited_tsv_prefix (pathlib.Path) – Path to the edited tsv prefix.

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

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

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

  • container (str) – Container in which to run the workflow.