dacapo.experiments.datasplits.datasets.arrays.dummy_array_config

Classes

DummyArrayConfig

This is just a dummy array config used for testing. None of the

Module Contents

class dacapo.experiments.datasplits.datasets.arrays.dummy_array_config.DummyArrayConfig

This is just a dummy array config used for testing. None of the attributes have any particular meaning. It is used to test the ArrayConfig class.

to_array()

Returns the DummyArray object

verify()

Returns whether the DummyArrayConfig is valid

Notes

The source_array_config must be an ArrayConfig object.

array_type
verify() Tuple[bool, str]

Check whether this is a valid Array

Returns:

Whether the Array is valid and a message

Return type:

Tuple[bool, str]

Raises:

ValueError – If the source is not a tuple of strings

Examples

>>> dummy_array_config = DummyArrayConfig(...)
>>> dummy_array_config.verify()
(False, "This is a DummyArrayConfig and is never valid")

Notes

The source must be a tuple of strings.