add download a whole dataset, and add an example for this in the examples folder. example_for_download_whole_dataset.py.
Initially using a single thread to complete this task will cost several minutes.
Now, I redesign a multi-thread architecture to achieve this task only cost almost 26 seconds!
validate dataset_id: if the dataset id input by the user does not exist in the SPARC dataset, the function will stop and notify the user by printing "no dataset from SPARC".
Description:
add download a whole dataset, and add an example for this in the examples folder.
example_for_download_whole_dataset.py
.Initially using a single thread to complete this task will cost several minutes. Now, I redesign a multi-thread architecture to achieve this task only cost almost 26 seconds!
Related issue(s):
37
Test Environment:
Specify the testing enviroment. Mac OS python 3.9