pyworkflow.constants module

This modules contains constants related to Pyworkflow

class pyworkflow.constants.Color[source]

Bases: object

ALT_COLOR = '#EAEBEC'
ALT_COLOR_2 = '#F2F2F2'
ALT_COLOR_DARK = '#6E6E6E'
BG_COLOR = 'white'
MAIN_COLOR = 'Firebrick'
RED_COLOR = 'Firebrick'
STATUS_ABORTED = ('#F5CCCB',)
STATUS_FAILED = ('#F5CCCB',)
STATUS_FINISHED = ('#D2F5CB',)
STATUS_INTERACTIVE = ('#F3F5CB',)
STATUS_LAUNCHED = ('#D9F1FA',)
STATUS_RUNNING = ('#FCCE62',)
STATUS_SAVED = ('#D9F1FA',)
class pyworkflow.constants.DOCSITEURLS[source]

Bases: object

Documentation site URL useful when exceptions happen and you want to point to some pages

CONFIG = 'https://scipion-em.github.io/docs/release-3.0.0/docs/scipion-modes/scipion-configuration.html'
CONFIG_SECTION = 'https://scipion-em.github.io/docs/release-3.0.0/docs/scipion-modes/scipion-configuration.html#%s'
CONTACTUS = 'http://scipion.i2pc.es/contact'
DOCS = 'https://scipion-em.github.io/docs/release-3.0.0/docs/'
GUI = 'https://scipion-em.github.io/docs/release-3.0.0/docs/user/scipion-gui.html'
HOME = 'https://scipion-em.github.io/docs/release-3.0.0/'
HOST_CONFIG = 'https://scipion-em.github.io/docs/release-3.0.0/docs/scipion-modes/host-configuration.html'
PLUGIN_MANAGER = 'https://scipion-em.github.io/docs/release-3.0.0/docs/user/plugin-manager.html'
USER = 'https://scipion-em.github.io/docs/release-3.0.0/docs/user/'
WAIT_FOR = 'https://scipion-em.github.io/docs/release-3.0.0/docs/user/scipion-gui.html#waiting-for-other-protocols'
class pyworkflow.constants.StrColors(value)[source]

Bases: Enum

An enumeration.

blue = '34'
cyan = '36'
gray = '30'
green = '32'
lightgreen = '92'
magenta = '35'
red = '31'
white = '37'
yellow = '33'
class pyworkflow.constants.TK[source]

Bases: object

ENTER = '<KP_Enter>'
LEFT_CLICK = '<Button-1>'
LEFT_DOUBLE_CLICK = '<Double-1>'
RETURN = '<Return>'
TREEVIEW_CLOSE = '<<TreeviewClose>>'
TREEVIEW_OPEN = '<<TreeviewOpen>>'