File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change 77from kielmat .utils .kielmat_dataclass import REQUIRED_COLUMNS
88import logging
99import warnings
10- from tqdm import tqdm
1110
1211# Dict of valid tracked points for the Keep Control dataset for each tracking system
1312VALID_TRACKED_POINTS = {
8584
8685
8786def fetch_dataset (
88- progressbar : bool = True ,
8987 dataset_path : str | Path = Path (__file__ ).parent / "_keepcontrol" ,
9088) -> None :
9189 """Fetch the Keep Control dataset from the OpenNeuro repository.
9290 Args:
93- progressbar (bool, optional): Whether to display a progressbar. Defaults to True.
9491 dataset_path (str | Path, optional): The path where the dataset is stored. Defaults to Path(__file__).parent/"_keepcontrol".
9592 """
9693 dataset_path = Path (dataset_path ) if isinstance (dataset_path , str ) else dataset_path
@@ -107,9 +104,6 @@ def fetch_dataset(
107104 target_dir = dataset_path ,
108105 )
109106
110- else :
111- if progressbar :
112- print ("Dataset already downloaded, skipping download." )
113107 return
114108
115109
You can’t perform that action at this time.
0 commit comments