ramp_utils.datasets
.fetch_from_osf¶
-
ramp_utils.datasets.
fetch_from_osf
(path_data, metadata, token=None)¶ Fetch files from OSF storage.
If the file is inside a private project, you will need to specify your token.
- Parameters
- path_datastr
The path where to store the data which will be downloaded.
- metadatalist of OSFRemoteMetaData
A list of OSF metadata for each file in the dataset.
- tokenstr
The OSF token to be able to make the token in case the file is in a private project.