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):
247247 subprocess .check_call (["python3" , "-c" , str_cmd ])
248248
249249 def _zenodo_download (self ):
250- """Install the data with amazon AWS s3 utility"""
250+ """Install the data with zenodo_get utility"""
251251 print ("Info : Starting to download from zenodo %s ..." %
252252 (self ._data_requirement_file ["src" ]))
253253 try :
@@ -310,6 +310,9 @@ def _scan_dl_type(self):
310310 # or a s3 link ?
311311 elif re .match (".*?(s3://).*?" , self ._data_requirement_file ["src" ]):
312312 self ._s3_download ()
313+ # or from zenodo ?
314+ elif re .match (".*?(10\.\d{4}/zenodo).*?" , self ._data_requirement_file ["src" ]):
315+ self ._zenodo_download ()
313316 # or osf
314317 elif re .match (".*?(https://osf.io).*?" , self ._data_requirement_file ["src" ]):
315318 self ._osf_download ()
You can’t perform that action at this time.
0 commit comments