neuralfetch.utils.runner.download_study¶
- neuralfetch.utils.runner.download_study(name: str, path: str | Path | None = None, overwrite: bool = False, clean: bool = False, assume_yes: bool = False) None[source][source]¶
Download a study’s raw dataset into
path/<StudyName>/.- Parameters:
name (str) – Registered study class name (e.g.
"Grootswagers2022Human").path (str | Path | None) – Root folder for study data. Defaults to
root_study_folder()(i.e. theNEURALSET_STUDY_FOLDERenvironment variable).overwrite (bool) – If True, force re-download even when a success-file exists (files already on disk are re-fetched/verified rather than trusted).
clean (bool) – If True, delete the study’s
download/andprepare/folders first, then re-download from scratch (impliesoverwrite=True). This is destructive; the caller is prompted for confirmation unlessassume_yesis set.assume_yes (bool) – Skip the interactive confirmation for
clean(for non-interactive use). Ignored whencleanis False.