The Virtual Brain Project

Table Of Contents

Previous topic

visualizers Package

Next topic

logger Package

This Page

config Package

TVB generic configurations are here.

E.g. Scientific libraries modules are plugged, to avoid close dependencies. E.g. A list with all the modules where adapters are implemented.

profile_settings

TVB global configurations are predefined/read from here, for working with Framework.

class tvb.config.profile_settings.CommandSettingsProfile(web_enabled=True)[source]

Bases: tvb.config.profile_settings.WebSettingsProfile

Profile which allows you to work in tvb with storage enable, but in console mode.

class tvb.config.profile_settings.TestPostgresProfile[source]

Bases: tvb.config.profile_settings.TestSQLiteProfile

Defines settings for running tests on a Postgres database.

class tvb.config.profile_settings.TestSQLiteProfile[source]

Bases: tvb.config.profile_settings.WebSettingsProfile

Defines settings for running tests on an SQLite database.

CODE_CHECKED_TO_VERSION = 9223372036854775807
DEFAULT_STORAGE = '/home/tester/TVB_TEST'
SVN_VERSION = 1
TRADE_CRASH_SAFETY_FOR_SPEED = True
TVB_CONFIG_FILE = '/home/tester/.test.tvb.configuration'
initialize_for_deployment()[source]

This profile will not be used in deployment, so we try to avoid problems due to too much initialization

initialize_profile(change_logger_in_dev=False)[source]
class tvb.config.profile_settings.WebSettingsProfile(web_enabled=True)[source]

Bases: tvb.basic.config.profile_settings.BaseSettingsProfile

Setting for working with storage and web interface

LOGGER_CONFIG_FILE_NAME = 'logger_config.conf'
initialize_for_deployment()[source]

Specific initialization for deployment and framework settings

initialize_profile(change_logger_in_dev=True)[source]

Specific initialization when functioning with storage