nimare.extract.utils
.get_data_dirs
- get_data_dirs(data_dir=None)[source]
Return the directories in which NiMARE looks for data.
Added in version 0.0.2.
This is typically useful for the end-user to check where the data is downloaded and stored.
- Parameters:
data_dir (
pathlib.Path
orstr
, optional) – Path of the data directory. Used to force data storage in a specified location. Default: None- Returns:
paths – Paths of the dataset directories.
- Return type:
Notes
Taken from Nilearn. This function retrieves the datasets directories using the following priority :
defaults system paths
the keyword argument data_dir
the global environment variable NIMARE_SHARED_DATA
the user environment variable NIMARE_DATA
nimare_data in the user home folder