dacapo.experiments.datasplits.datasets.dummy_dataset_config

Classes

DummyDatasetConfig

A dummy configuration class for test datasets.

Module Contents

class dacapo.experiments.datasplits.datasets.dummy_dataset_config.DummyDatasetConfig

A dummy configuration class for test datasets.

dataset_type

Clearly mentions the type of dataset

raw_config

This attribute holds the configurations related to dataset arrays.

verify()

A dummy verification method for testing purposes, always returns False and a message.

Notes

This class is used to create a configuration object for the dummy dataset.

dataset_type
raw_config: dacapo.experiments.datasplits.datasets.arrays.ArrayConfig
verify() Tuple[bool, str]

A dummy method that always indicates the dataset config is not valid.

Returns:

A tuple of False and a message indicating the invalidity.

Raises:

NotImplementedError – If the method is not implemented in the derived class.

Examples

>>> dataset_config = DummyDatasetConfig(raw_config=DummyArrayConfig(name="dummy_array"))
>>> dataset_config.verify()
(False, "This is a DummyDatasetConfig and is never valid")

Notes

This method is used to validate the configuration of the dataset.