Affects Version/s: None
Fix Version/s: 1.2.3
Sprint:1.2.3 & 1.3
from tvb.basic.profile import TvbProfile
TvbProfile.current will be an instance of one of the classes defined in tvb.basic.config.profile_settings.py or tvb.config.profile_settings.py.
The hierarchy of ProfileSettings classes is as follows:
Test LibraryProfile TestSQLiteProfile CommandSettingsProfile
And there is even a third layer: BaseSettingsProfile refers classes from tvb.basic.config.settings.py.
These classes are mainly meant to hold basic settings grouped and organized, they are not really intenged to be used outside of a SettingsProfile instance (so it is composition not just aggregation).
One of the important differences with the new implementation is the fact that DEPLOYMENT vs DEVELOPMENT is decided by TvbProfile internally, and no longer specified through a specific profile, as it was before.
Internally, we determine that, by questioning the file system related to python modules, and searching for specific files written at package time.
|Problems in logging after recent changes||Closed||