cubids.workflows.add_nifti_info

add_nifti_info(bids_dir, use_datalad, force_unlock, n_cpus=1)[source]

Add information from nifti files to the dataset’s sidecars.

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

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

  • force_unlock (bool) – Force unlock the dataset.

  • n_cpus (int) – Number of CPUs to use for parallel add-nifti-info. Default is 1.