dacapo.store.create_store

Functions

create_config_store()

Create a config store based on the global DaCapo options.

create_stats_store()

Create a statistics store based on the global DaCapo options.

create_weights_store()

Create a weights store based on the global DaCapo options.

create_array_store()

Create an array store based on the global DaCapo options.

Module Contents

dacapo.store.create_store.create_config_store()

Create a config store based on the global DaCapo options.

Returns:

The created config store.

Return type:

ConfigStore

Raises:

ValueError – If the store type is not supported.

Examples

>>> create_config_store()
<dacapo.store.file_config_store.FileConfigStore object at 0x7f2e4f8e9e80>

Note

Currently, only the FileConfigStore and MongoConfigStore are supported.

dacapo.store.create_store.create_stats_store()

Create a statistics store based on the global DaCapo options.

Parameters:

options (Options) – The global DaCapo options.

Returns:

The created statistics store.

Return type:

StatsStore

Raises:

ValueError – If the store type is not supported.

Examples

>>> create_stats_store()
<dacapo.store.file_stats_store.FileStatsStore object at 0x7f2e4f8e9e80>

Note

Currently, only the FileStatsStore and MongoStatsStore are supported.

dacapo.store.create_store.create_weights_store()

Create a weights store based on the global DaCapo options.

Parameters:

options (Options) – The global DaCapo options.

Returns:

The created weights store.

Return type:

WeightsStore

Examples

>>> create_weights_store()
<dacapo.store.local_weights_store.LocalWeightsStore object at 0x7f2e4f8e9e80>

Note

Currently, only the LocalWeightsStore is supported.

dacapo.store.create_store.create_array_store()

Create an array store based on the global DaCapo options.

Parameters:

options (Options) – The global DaCapo options.

Returns:

The created array store.

Return type:

ArrayStore

Raises:

ValueError – If the store type is not supported.

Examples

>>> create_array_store()
<dacapo.store.local_array_store.LocalArrayStore object at 0x7f2e4f8e9e80>

Note

Currently, only the LocalArrayStore is supported.