cubids.workflows.copy_exemplars
- copy_exemplars(bids_dir, use_datalad, exemplars_dir, exemplars_tsv, min_group_size, force_unlock)[source]
Create and save a directory with one subject from each acquisition group.
- Parameters:
bids_dir (
pathlib.Path) – Path to the BIDS directory.use_datalad (
bool) – Use datalad to track changes.exemplars_dir (
pathlib.Path) – Path to the directory where the exemplars will be saved.exemplars_tsv (
pathlib.Path) – Path to the tsv file with the exemplars.min_group_size (
int) – Minimum number of subjects in a group to be considered for exemplar.force_unlock (
bool) – Force unlock the dataset.