File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -247,7 +247,7 @@ def _lib_download(self):
247
247
subprocess .check_call (["python3" , "-c" , str_cmd ])
248
248
249
249
def _zenodo_download (self ):
250
- """Install the data with amazon AWS s3 utility"""
250
+ """Install the data with zenodo_get utility"""
251
251
print ("Info : Starting to download from zenodo %s ..." %
252
252
(self ._data_requirement_file ["src" ]))
253
253
try :
@@ -310,6 +310,9 @@ def _scan_dl_type(self):
310
310
# or a s3 link ?
311
311
elif re .match (".*?(s3://).*?" , self ._data_requirement_file ["src" ]):
312
312
self ._s3_download ()
313
+ # or from zenodo ?
314
+ elif re .match (".*?(10\.\d{4}/zenodo).*?" , self ._data_requirement_file ["src" ]):
315
+ self ._zenodo_download ()
313
316
# or osf
314
317
elif re .match (".*?(https://osf.io).*?" , self ._data_requirement_file ["src" ]):
315
318
self ._osf_download ()
You can’t perform that action at this time.
0 commit comments