Closed mgxd closed 4 years ago
I would add to this:
BTW the call should be templateflow.conf.update(local=True, overwrite=False)
If a skeleton needs to be upgraded, then that should be done intentionally by the user (or fMRIPrep) with templateflow.conf.update(local=False, overwrite=False)
If a skeleton needs to be upgraded, then that should be done intentionally by the user (or fMRIPrep) with
templateflow.conf.update(local=False, overwrite=False)
This just bit me in https://github.com/poldracklab/fmriprep-rodents/pull/10/commits/a6bd87fcf1c0aed3bdade807b97def71a597947c. It should be easy for users to ensure they are working with the latest templates, WDYT about adding a flag (maybe --fetch-latest-templates
) to allow users to run an update with overwrite=True
?
Ah nevermind, this is #58
To greatly simplify users updating their templateflow skeletons as templates are added / change.
templateflow.conf.update()
intemplateflow.__init__.py
TEMPLATEFLOW_AUTOUPDATE=0