Created
January 9, 2016 18:35
-
-
Save maedoc/6de1fba6ebb5ea965cb2 to your computer and use it in GitHub Desktop.
avoid storing temporary files in home if needed in TVB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class BaseSettingsProfile(object): | |
TVB_USER_HOME = os.environ.get('TVB_USER_HOME', '~') | |
TVB_CONFIG_FILE = os.path.expanduser(os.path.join(TVB_USER_HOME, '.tvb.configuration')) | |
DEFAULT_STORAGE = os.path.expanduser(os.path.join(TVB_USER_HOME, 'TVB' + os.sep)) | |
FIRST_RUN_STORAGE = os.path.expanduser(os.path.join(TVB_USER_HOME, '.tvb-temp')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here's what I came up with. Will do for now as a hack (just replaces
from tvb.simulator.lab import *
withfrom scinet_tvb_lab import *
).I'll log this on Jira after I've done a few more tests.