Skip to content

Commit 73bad3e

Browse files
remove the progress bar from the documentation
1 parent 218949f commit 73bad3e

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

kielmat/datasets/keepcontrol.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
from kielmat.utils.kielmat_dataclass import REQUIRED_COLUMNS
88
import logging
99
import warnings
10-
from tqdm import tqdm
1110

1211
# Dict of valid tracked points for the Keep Control dataset for each tracking system
1312
VALID_TRACKED_POINTS = {
@@ -85,12 +84,10 @@
8584

8685

8786
def 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

0 commit comments

Comments
 (0)