pyworkflow.config module¶
- class pyworkflow.config.Config[source]¶
Bases:
object
Main Config for pyworkflow. It contains the main configuration values providing default values or, if present, taking them from the environment. It has SCIPION_HOME, SCIPION_USER_DATA … Necessary value is SCIPION_HOME and has to be present in the environment
- SCIPION_CANCEL_FASTCOPY = None¶
- SCIPION_CONFIG = 'scipion.conf'¶
- SCIPION_CWD = '/home/buildbot/buildbot-worker/devel/docs'¶
- SCIPION_DOMAIN = None¶
- SCIPION_FONT_NAME = 'Helvetica'¶
- SCIPION_FONT_SIZE = 10¶
- SCIPION_GUI_REFRESH_IN_THREAD = 'False'¶
- SCIPION_HOME = '/home/buildbot/devel/scipion'¶
- SCIPION_HOSTS = 'hosts.conf'¶
- SCIPION_LOCAL_CONFIG = '/home/buildbot/.config/scipion/scipion_devel.conf'¶
- SCIPION_LOG = '/home/buildbot/ScipionUserData/logs/scipion.log'¶
- SCIPION_LOGO = 'scipion_logo.gif'¶
- SCIPION_LOGS = '/home/buildbot/ScipionUserData/logs'¶
- SCIPION_LOG_CONFIG = None¶
- SCIPION_LOG_LEVEL = 'INFO'¶
- SCIPION_NOTES_ARGS = None¶
- SCIPION_NOTES_FILE = 'notes.txt'¶
- SCIPION_NOTES_PROGRAM = None¶
- SCIPION_NOTIFY = 'True'¶
- SCIPION_PLUGIN_JSON = 'plugins.json'¶
- SCIPION_PLUGIN_REPO_URL = 'http://scipion.i2pc.es/getplugins/'¶
- SCIPION_PRIORITY_PACKAGE_LIST = None¶
- SCIPION_PROTOCOLS = 'protocols.conf'¶
- SCIPION_SCRATCH = None¶
- SCIPION_SOFTWARE = '/home/buildbot/devel/scipion/software'¶
- SCIPION_STEPS_CHECK_SEC = 3¶
- SCIPION_SUPPORT_EMAIL = 'scipion@cnb.csic.es'¶
- SCIPION_TESTS = '/home/buildbot/devel/scipion/data/tests'¶
- SCIPION_TESTS_CMD = '/home/buildbot/devel/scipion/scipion-pyworkflow/pyworkflow/apps/pw_run_tests.py'¶
- SCIPION_TESTS_OUTPUT = '/home/buildbot/ScipionUserData/Tests'¶
- SCIPION_TMP = '/home/buildbot/ScipionUserData/tmp'¶
- SCIPION_UPDATE_SET_ATTEMPTS = 3¶
- SCIPION_UPDATE_SET_ATTEMPT_WAIT = 2¶
- SCIPION_URL = 'http://scipion.cnb.csic.es/downloads/scipion'¶
- SCIPION_URL_SOFTWARE = 'http://scipion.cnb.csic.es/downloads/scipion/software'¶
- SCIPION_URL_TESTDATA = 'http://scipion.cnb.csic.es/downloads/scipion/data/tests'¶
- SCIPION_USER_DATA = '/home/buildbot/ScipionUserData'¶
- VIEWERS = {}¶
- WIZARD_MASK_COLOR = '[0.125, 0.909, 0.972]'¶
- classmethod getBindingsFolder()[source]¶
Folder where bindings must be placed. This folder is added to sys.path at launching time. If the binding depends on a dynamic libraries, those must be placed at cls.getLibFolder() :return: The bindings folder
- classmethod getLibFolder()[source]¶
- Returns
Folder where libraries must be placed in case a binding needs them