cubids.workflows.purge

purge(bids_dir, use_datalad, scans, n_cpus=1)[source]

Purge scan associations.

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

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

  • scans (pathlib.Path) – Path to the scans tsv.