Skip to content

Commit

Permalink
FIX: src/stimulus/data/{data_handlers.py,handlertorch.py} -> Change t…
Browse files Browse the repository at this point in the history
…he docstring to match the right parameters
  • Loading branch information
Julien Raynal authored and Julien Raynal committed Feb 18, 2025
1 parent eaaf40c commit 0012c72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/stimulus/data/data_handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ def __init__(
"""Initialize the DatasetHandler with required config.
Args:
config_path (str): Path to the dataset configuration file.
data_config (yaml_data.YamlSplitTransformDict): A YamlSplitTransformDict object holding the config.
csv_path (str): Path to the CSV data file.
"""
self.dataset_manager = DatasetManager(data_config)
Expand Down
2 changes: 1 addition & 1 deletion src/stimulus/data/handlertorch.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def __init__(
"""Initialize the TorchDataset.
Args:
config_path: Path to the configuration file
data_config: A YamlSplitTransformDict holding the configuration.
csv_path: Path to the CSV data file
encoder_loader: Encoder loader instance
split: Optional tuple containing split information
Expand Down

0 comments on commit 0012c72

Please sign in to comment.