Skip to content

Commit

Permalink
[FIX] make download progressbar default for mobilised data
Browse files Browse the repository at this point in the history
  • Loading branch information
JuliusWelzel committed Jul 25, 2024
1 parent d79baaa commit 52a0386
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kielmat/datasets/mobilised.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def load_recording(
cohort: Literal["PFF", "PD", "MS", "HA", "COPD", "CHF"] = "PFF",
file_name: str = "data.mat",
dataset_path: str | Path = Path(__file__).parent / "_mobilised",
progressbar: None | bool = None,
progressbar: bool = True,
) -> KielMATRecording:
"""Load a recording from the Mobilise-D dataset.
Expand All @@ -78,7 +78,7 @@ def load_recording(
cohort (Literal["PFF", "PD", "MS", "HA", "COPD", "CHF"], optional): The cohort from which data should be loaded. Defaults to "PFF".
file_name (str, optional): The filename of the data file. Defaults to "data.mat".
dataset_path (str | Path, optional): The path to the dataset. Defaults to Path(__file__).parent/"_mobilised".
progressbar (None | bool, optional): Whether to display a progressbar when fetching the data. Defaults to None.
progressbar (bool, optional): Whether to display a progressbar when fetching the data. Defaults to True.
Returns:
KielMATRecording: An instance of the KielMATRecording dataclass containing the loaded data and channels.
Expand Down

0 comments on commit 52a0386

Please sign in to comment.