Skip to content

Commit 8b41395

Browse files
committed
Fix: Reverse problematic check
1 parent 67da910 commit 8b41395

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

cesnet_tszoo/datasets/cesnet_dataset.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,6 @@ def set_dataset_config_and_initialize(self, dataset_config: DatasetConfig, displ
111111
workers: The number of workers to use during initialization. `Default: "config"`
112112
"""
113113

114-
if self.dataset_config is not None and self.dataset_config != dataset_config:
115-
raise ValueError("This dataset is already initialized with config. Create new dataset to configure with passed dataset_config!")
116-
117114
if display_config_details is not None:
118115
display_config_details = DisplayType(display_config_details)
119116

0 commit comments

Comments
 (0)