dacapo.experiments.datasplits.datasets.arrays.dvid_array_config

Classes

DVIDArrayConfig

This config class provides the necessary configuration for a DVID array. It takes a source string and returns the DVIDArray object.

Module Contents

class dacapo.experiments.datasplits.datasets.arrays.dvid_array_config.DVIDArrayConfig

This config class provides the necessary configuration for a DVID array. It takes a source string and returns the DVIDArray object.

source

The source strings

Type:

Tuple[str, str, str]

to_array()

Returns the DVIDArray object

Notes

The source must be a tuple of strings.

array_type
source: Tuple[str, str, str]
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

>>> dvid_array_config = DVIDArrayConfig(...)
>>> dvid_array_config.verify()
(True, "No validation for this Array")

Notes

The source must be a tuple of strings.