pyworkflow.utils.properties module

This module defines the text used in the application.

class pyworkflow.utils.properties.Icon[source]

Bases: object

ACTION_BROWSE = <pyworkflow.utils.properties.SpriteImage object>
ACTION_CIRCLE = <pyworkflow.utils.properties.SpriteImage object>
ACTION_CLOSE = <pyworkflow.utils.properties.SpriteImage object>
ACTION_COLLAPSE = <pyworkflow.utils.properties.SpriteImage object>
ACTION_CONTINUE = <pyworkflow.utils.properties.SpriteImage object>
ACTION_CONTRAST = <pyworkflow.utils.properties.SpriteImage object>
ACTION_COPY = <pyworkflow.utils.properties.SpriteImage object>
ACTION_DB = <pyworkflow.utils.properties.SpriteImage object>
ACTION_DELETE = <pyworkflow.utils.properties.SpriteImage object>
ACTION_DUPLICATE = <pyworkflow.utils.properties.SpriteImage object>
ACTION_EDIT = <pyworkflow.utils.properties.SpriteImage object>
ACTION_EXECUTE = <pyworkflow.utils.properties.SpriteImage object>
ACTION_EXPAND = <pyworkflow.utils.properties.SpriteImage object>
ACTION_EXPORT = <pyworkflow.utils.properties.SpriteImage object>
ACTION_EXPORT_UPLOAD = <pyworkflow.utils.properties.SpriteImage object>
ACTION_FILAMENT_PICKING = <pyworkflow.utils.properties.SpriteImage object>
ACTION_FIND_NEXT = <pyworkflow.utils.properties.SpriteImage object>
ACTION_FIND_PREVIOUS = <pyworkflow.utils.properties.SpriteImage object>
ACTION_GRID = <pyworkflow.utils.properties.SpriteImage object>
ACTION_HAND = <pyworkflow.utils.properties.SpriteImage object>
ACTION_HELP = <pyworkflow.utils.properties.SpriteImage object>
ACTION_IN = <pyworkflow.utils.properties.SpriteImage object>
ACTION_NEW = <pyworkflow.utils.properties.SpriteImage object>
ACTION_OUT = <pyworkflow.utils.properties.SpriteImage object>
ACTION_PASTE = <pyworkflow.utils.properties.SpriteImage object>
ACTION_PICKING = <pyworkflow.utils.properties.SpriteImage object>
ACTION_REFERENCES = <pyworkflow.utils.properties.SpriteImage object>
ACTION_REFRESH = <pyworkflow.utils.properties.SpriteImage object>
ACTION_RENAME = <pyworkflow.utils.properties.SpriteImage object>
ACTION_RESULTS = <pyworkflow.utils.properties.SpriteImage object>
ACTION_SAVE = <pyworkflow.utils.properties.SpriteImage object>
ACTION_SELECT_FROM = <pyworkflow.utils.properties.SpriteImage object>
ACTION_SELECT_TO = <pyworkflow.utils.properties.SpriteImage object>
ACTION_STATS = <pyworkflow.utils.properties.SpriteImage object>
ACTION_STOP = <pyworkflow.utils.properties.SpriteImage object>
ACTION_STOP_WORKFLOW = <pyworkflow.utils.properties.SpriteImage object>
ACTION_UNDO = <pyworkflow.utils.properties.SpriteImage object>
ACTION_VISUALIZE = <pyworkflow.utils.properties.SpriteImage object>
ACTION_WIZ = <pyworkflow.utils.properties.SpriteImage object>
ACTION_ZOOM = <pyworkflow.utils.properties.SpriteImage object>
ALERT = 'fa-exclamation-triangle_alert.png'
ARROW_UP = <pyworkflow.utils.properties.SpriteImage object>
BACKWARD = <pyworkflow.utils.properties.SpriteImage object>
BETA = <pyworkflow.utils.properties.SpriteImage object>
BROOM = <pyworkflow.utils.properties.SpriteImage object>
BUTTON_CANCEL = <pyworkflow.utils.properties.SpriteImage object>
BUTTON_CLOSE = <pyworkflow.utils.properties.SpriteImage object>
BUTTON_SAVE = <pyworkflow.utils.properties.SpriteImage object>
BUTTON_SELECT = <pyworkflow.utils.properties.SpriteImage object>
CHECKED = <pyworkflow.utils.properties.SpriteImage object>
CHIMERA = 'chimera.png'
CODE_BRANCH = <pyworkflow.utils.properties.SpriteImage object>
DB = <pyworkflow.utils.properties.SpriteImage object>
DEBUG = <pyworkflow.utils.properties.SpriteImage object>
DELETE_OPERATION = <pyworkflow.utils.properties.SpriteImage object>
DOWNLOAD = <pyworkflow.utils.properties.SpriteImage object>
ERROR = 'fa-times-circle_alert.png'
FAILURE = <pyworkflow.utils.properties.SpriteImage object>
FAVORITE = <pyworkflow.utils.properties.SpriteImage object>
FILE = <pyworkflow.utils.properties.SpriteImage object>
FILE_IMAGE = <pyworkflow.utils.properties.SpriteImage object>
FILE_METADATA = <pyworkflow.utils.properties.SpriteImage object>
FILE_STACK = <pyworkflow.utils.properties.SpriteImage object>
FILE_VOL = <pyworkflow.utils.properties.SpriteImage object>
FIND = <pyworkflow.utils.properties.SpriteImage object>
FOLDER = <pyworkflow.utils.properties.SpriteImage object>
FOLDER_OPEN = <pyworkflow.utils.properties.SpriteImage object>
GROUP = <pyworkflow.utils.properties.SpriteImage object>
HOME = <pyworkflow.utils.properties.SpriteImage object>
INFO = 'fa-info-circle_alert.png'
INSTALL = <pyworkflow.utils.properties.SpriteImage object>
INSTALLED = <pyworkflow.utils.properties.SpriteImage object>
LIGHTBULB = <pyworkflow.utils.properties.SpriteImage object>
NEW = <pyworkflow.utils.properties.SpriteImage object>
NO_IMAGE_128 = 'no-image128.png'
PLUGIN_AUTHORS = <pyworkflow.utils.properties.SpriteImage object>
PLUGIN_DESCRIPTION = <pyworkflow.utils.properties.SpriteImage object>
PLUGIN_PACKAGE = <pyworkflow.utils.properties.SpriteImage object>
PLUGIN_RELEASE_DATE = <pyworkflow.utils.properties.SpriteImage object>
PLUGIN_VERSION = <pyworkflow.utils.properties.SpriteImage object>
PROCESSING = <pyworkflow.utils.properties.SpriteImage object>
PRODUCTION = <pyworkflow.utils.properties.SpriteImage object>
PROT_DISABLED = <pyworkflow.utils.properties.SpriteImage object>
PYTHON_FILE = <pyworkflow.utils.properties.SpriteImage object>
ROCKET = <pyworkflow.utils.properties.SpriteImage object>
RUNS_TREE = <pyworkflow.utils.properties.SpriteImage object>
SCIPION_ICON = 'scipion_icon.png'
SCIPION_ICON_PROJ = 'scipion_icon_proj.png'
SCIPION_ICON_PROJS = 'scipion_icon_projs.png'
SCIPION_ICON_PROT = 'scipion_icon_prot.png'
SCIPION_LOGO_SMALL = 'scipion_logo_small.png'
SELECT_ALL = <pyworkflow.utils.properties.SpriteImage object>
TAGS = <pyworkflow.utils.properties.SpriteImage object>
TO_INSTALL = <pyworkflow.utils.properties.SpriteImage object>
TO_UPDATE = <pyworkflow.utils.properties.SpriteImage object>
TXT_FILE = <pyworkflow.utils.properties.SpriteImage object>
UNCHECKED = <pyworkflow.utils.properties.SpriteImage object>
UNINSTALL = <pyworkflow.utils.properties.SpriteImage object>
UPDATED = <pyworkflow.utils.properties.SpriteImage object>
WAITING = 'wait.gif'
class pyworkflow.utils.properties.KEYSYM[source]

Bases: object

Keysym values for evaluating key pressed within events as reported at http://infohost.nmt.edu/tcc/help/pubs/tkinter/web/key-names.html

CONTROL = 'Control'
DELETE = 'Delete'
RETURN = 'Return'
SHIFT = 'Shift'
class pyworkflow.utils.properties.Message[source]

Bases: object

CANCEL_SELECTED_OPERATION = 'Cancel a selected operation'
ERROR_DIMENSIONS = 'Incorrect table width or height: '
ERROR_IMPORT_VOL = 'importVolumes: There are no filePaths matching the pattern'
ERROR_NO_EST_CTF = '_estimateCTF should be implemented'
ERROR_PATTERN_EMPTY = 'The *pattern* cannot be empty.'
ERROR_PATTERN_FILES = 'There are no files matching the *pattern*'
ERROR_WEBGL = 'Your web browser does not support or is not configured for WebGL. See [[http://get.webgl.org/][WebGL Support]] for more information.'
EXECUTE_PLUGINS_MANAGER_OPERATION = 'Execute all selected operations'
HELP_MPI_THREADS = '\nDefine the number of processors to be used in the execution.\n*MPI*: This is a number of independent processes\n       that communicate through message passing\n       over the network (or the same computer).\n*Threads*: This refers to different execution threads \n       in the same process that can share memory. They run in\n       the same computer.     \n    '
HELP_RUNMODE = "  \nNormally, each protocol is composed of several atomic steps.\nEach step could be computationally intensive, that's why\nthe *Continue* execution mode will try to continue from the\nlast completed step. On the other hand, the *Restart* mode\nwill clean the whole run directory and start from scratch.    \n    "
HELP_USEQUEUE = '\n    Click Yes if you want to send this execution to a queue engine like Slurm, Torque, ...\n    The queue commands to launch and stop jobs should be configured at\n    _%s_ file.\n    \n    See %s for more information.\n        '
HELP_USEQUEUEPERJOB = '\n    Click *Yes* if you want to submit the multiple jobs per protocol to a Queue system.\n    The queue commands for launch and stop jobs should be configured\n    for the current host in the _hosts.conf_ file.\n    '
HELP_WAIT_FOR = '\n    Specify a comma separated list of protocol IDs if you want\n    to *schedule* this protocol and wait for those protocols to finish before\n    starting this one.\n    \n    This function will allow you to "schedule" many\n    runs that will be executed after each other.\n     \n    See %s for more information.\n    '
LABEL_ALIG_PART = 'Write aligned particles?'
LABEL_AMPLITUDE = 'Amplitude Contrast'
LABEL_ANALYZE = 'Analyze results'
LABEL_APPLY_TRANSFORM = 'Apply Transform Matrix'
LABEL_BIB_BTN = 'Export references'
LABEL_BLOCK_SELECTION = 'Select Block'
LABEL_BROWSE = 'Browse'
LABEL_BUTTON_CANCEL = 'Cancel'
LABEL_BUTTON_CLOSE = 'Close'
LABEL_BUTTON_EXEC = 'Execute'
LABEL_BUTTON_HELP = 'Help'
LABEL_BUTTON_OK = 'Ok'
LABEL_BUTTON_RETURN = 'Save'
LABEL_BUTTON_SAVE = 'Save'
LABEL_BUTTON_VIS = 'Visualize'
LABEL_BUTTON_WIZ = 'Wizard'
LABEL_CHECKSTACK = 'Check stack files?'
LABEL_CITE = 'Cite'
LABEL_COLS = 'Cols'
LABEL_COMMENT = 'Comments'
LABEL_CONTINUE = 'Continue'
LABEL_CONTINUE_WORKFLOW = 'Continue all'
LABEL_COPY = 'Copy'
LABEL_COPYFILES = 'Copy files?'
LABEL_CREATED = 'Created: '
LABEL_CREATE_PROJECT = 'Create Project'
LABEL_CTF_ESTI = 'CTF Estimation'
LABEL_DATA = 'Data'
LABEL_DB = 'Db'
LABEL_DEFAULT = 'Default'
LABEL_DELETE = 'Delete'
LABEL_DELETE_FORM = "\nYou are going to *DELETE* the run(s): \n  - %s\n*ALL DATA* related will be permanently removed.\n\nDo you really want to continue?'\n"
LABEL_DELETE_PROJECT = '[Delete]'
LABEL_DISABLE = 'Disable'
LABEL_DISPLAY_TABLE_CONFIG = 'Display Table Configuration'
LABEL_DUPLICATE = 'Duplicate'
LABEL_EDIT = 'Edit'
LABEL_ENABLE = 'Enable'
LABEL_EXECUTION = 'Run mode'
LABEL_EXPERT = 'Expert Level'
LABEL_EXPERT_ADVANCE = 'Advanced'
LABEL_EXPERT_EXPERT = 'Expert'
LABEL_EXPERT_NORMAL = 'Normal'
LABEL_EXPORT = 'Export'
LABEL_EXPORT_UPLOAD = 'Export & upload'
LABEL_FOUND_ERROR = 'Errors found'
LABEL_HELP = 'Help'
LABEL_HOST = 'Host'
LABEL_IMPORT_PROJECT = 'Import project'
LABEL_INPUT = 'Input'
LABEL_INPUT_MIC = 'Input Micrographs'
LABEL_INPUT_MOVS = 'Input Movies'
LABEL_INPUT_PART = 'Input Particles'
LABEL_INPUT_VOLS = 'Input Volumes'
LABEL_INSPECTOR = 'Objects inspector will inspect the whole project. Thus, it can take a while depending on the size of the project.\nDo you want to continue?'
LABEL_LABEL = 'Label'
LABEL_LABEL_SELECTION = 'Select Label'
LABEL_LAUNCHED = 'The protocol was launched successfully.'
LABEL_LOGS = 'Output Logs'
LABEL_LOGS_ERROR = 'Error Log'
LABEL_LOGS_OUTPUT = 'Output Log'
LABEL_LOGS_SCIPION = 'Scipion Log'
LABEL_MAGNI_RATE = 'Magnification rate'
LABEL_METHODS = 'Methods'
LABEL_MIRRORY = 'Invert Y Axis'
LABEL_MODIFIED = 'Modified: '
LABEL_MPI = 'MPI'
LABEL_NEW = 'New'
LABEL_NEW_ACTION = 'New     '
LABEL_OBJCREATED = 'Created'
LABEL_OBJINFO = 'Info'
LABEL_OBJLABEL = 'Label'
LABEL_OBJSUMMARY = 'Object Summary'
LABEL_ONLY_SHIFTS = 'Only Shifts'
LABEL_OPT_COMMENT = 'Describe your run here...'
LABEL_OUTPUT = 'Output'
LABEL_PARALLEL = 'Parallel'
LABEL_PARAM_NO = 'No'
LABEL_PARAM_YES = 'Yes'
LABEL_PASTE = 'Paste'
LABEL_PATTERN = 'Pattern'
LABEL_PATTERNT = 'Pattern tilted'
LABEL_PATTERNU = 'Pattern untilted'
LABEL_PICK_GAUSS = 'Do you wish to perform an automatic gaussian picking for the remaining micrographs?'
LABEL_PROJECT = 'Project '
LABEL_PROJECTS = 'Projects'
LABEL_PROTTREE_NONE = 'None'
LABEL_QUEUE = 'Use a queue engine?'
LABEL_QUEUE_NO = 'No'
LABEL_QUEUE_YES = 'Yes'
LABEL_REFRESH = 'Refresh'
LABEL_RENAME = 'Rename '
LABEL_RENAME_PROJECT = '[Rename]'
LABEL_RENDER = 'Render'
LABEL_RESET_WORKFLOW = 'Reset from'
LABEL_RESLICE = 'Reslice'
LABEL_RESTART_WORKFLOW = 'Restart all'
LABEL_ROWS = 'Rows'
LABEL_RUNMODE = 'Mode'
LABEL_RUNNAME = 'Run name'
LABEL_RUN_MODE_RESTART = 'restart'
LABEL_RUN_MODE_RESUME = 'resume'
LABEL_SAMP_MODE = 'Sampling rate mode'
LABEL_SAMP_MODE_1 = 'From image'
LABEL_SAMP_MODE_2 = 'From scanner'
LABEL_SAMP_RATE = 'Pixel size (sampling rate) Å/px'
LABEL_SAVED_FORM = 'The protocol was saved successfully.'
LABEL_SAVE_OUTPUT = 'Do you wish to save protocol output?'
LABEL_SCANNED = 'Scanned pixel size (microns/px)'
LABEL_SELECT_ALL = 'Select all'
LABEL_SELECT_FROM = 'Select from'
LABEL_SELECT_TO = 'Select to'
LABEL_SMALLTREE = 'Small Tree'
LABEL_SPH_ABERRATION = 'Spherical aberration (mm)'
LABEL_STEPS = 'Steps'
LABEL_STOP = 'Stop'
LABEL_STOP_FORM = 'Do you really want to *STOP* this run?'
LABEL_STOP_WORKFLOW = 'Stop from'
LABEL_SUMMARY = 'Summary'
LABEL_THREADS = 'Threads'
LABEL_THRESHOLD = 'Threshold:'
LABEL_TREE = 'Tree'
LABEL_VISIBLE = 'Visible'
LABEL_VOLTAGE = 'Microscope voltage (kV)'
LABEL_VOLUME_SELECTION = 'Select Volume'
LABEL_WAIT_FOR = 'Wait for'
LABEL_WORKFLOW = 'Workflow View: '
LABEL_WRAP = 'Wrap'
MESSAGE_ASK_SINGLE_ALL = '\n        What do you want to do?\n\n        *Single* : Just this protocol.\n        *All*: All above listed protocols will be launched.\n    '
MESSAGE_CONTINUE_FORM = '\n    You are going to *CONTINUE* the run: \n      %s\n\n    Do you really want to continue it?\n    '
MESSAGE_CONTINUE_WORKFLOW = 'Do you really want to *CONTINUE* this workflow?'
MESSAGE_CONTINUE_WORKFLOW_WITH_RESULTS = '\n        All previous results of the following protocols will be affected: \n        %s\n\n        Do you really want to *CONTINUE* the workflow?\n        '
MESSAGE_DELETE_PROJECT = 'This will *delete* the project and all its *data*. Are you sure?'
MESSAGE_RESTART_FORM = '\nYou are going to *RESTART* the run: \n  %s\n\nDo you really want to restart it?\n'
MESSAGE_RESTART_WORKFLOW = 'Do you really want to *RESTART* this workflow?'
MESSAGE_RESTART_WORKFLOW_WITH_RESULTS = "\n    All previous results of the following protocols will be deleted:\n        %s\n\n        Do you really want to *RESTART* the workflow?'\n    "
NO_INFO_LOGS = 'No logs information.'
NO_INFO_METHODS = 'No methods information.'
NO_INFO_SUMMARY = 'No summary information.'
NO_SAVE_SETTINGS = 'Error trying to save settings.'
NO_VIEWER_FOUND = 'There is no viewer for protocol:'
RESLICE_X_NEGATIVE = 'X Negative (Left)'
RESLICE_X_POSITIVE = 'X Positive (Right)'
RESLICE_Y_NEGATIVE = 'Y Negative (Top)'
RESLICE_Y_POSITIVE = 'Y Positive (Bottom)'
RESLICE_Z_NEGATIVE = 'Z Negative (Front)'
SHOWJ_TITLE = 'Showj'
TEXT_ALIG_PART = 'If set to *Yes*, the alignment will be applied to \ninput particles and a new aligned set will be created.'
TEXT_AMPLITUDE = 'Produced by the loss of amplitude (i.e. electrons) from the beam.\n\nFor a weak phase and weak amplitude object, the amplitude contrast ratio Qo\nis automatically computed. It should be a positive number, typically between\n0.05 and 0.3.'
TEXT_HELP = 'The file selected will be uploaded to the project folder. If the file was uploaded before, it will be replaced.'
TEXT_MAGNI_RATE = 'Electron optical magnification (M). It can be used to compute the Image Pixel\nSize ("Sampling Rate") (Ts) using the Scanner Pixel Size (Tm), Ts = Tm / M.'
TEXT_NO_CTF_READY = 'CTF of *Input Micrographs* not ready yet.'
TEXT_NO_INPUT_MIC = 'No *Input Micrographs* selected.'
TEXT_NO_OUTPUT_CO = 'Output coordinates not ready yet.'
TEXT_NO_OUTPUT_FILES = 'No output file produced'
TEXT_PATTERN = 'Pattern (that can include wildcards) of the files to import.\nFor example:\n  *data/particles/***.spi*\n  *~/Micrographs/mic/***.mrc*'
TEXT_SAMP_MODE = 'You can specify the sampling rate (pixel size) directly from the image\n(A/pixel, Ts) or by specifying the magnification rate (M) and the scanner\npixel size (microns/pixel, Tm).\n\nThey are related by  Ts = Tm / M'
TEXT_SAMP_RATE = 'Pixel size'
TEXT_SPH_ABERRATION = 'Optical effect due to the increased refraction of light rays when they\nstrike the lens near its edge, in comparison with those that strike near\nthe center.'
TEXT_VOLTAGE = 'Microscope voltage'
TITLE_ACTIVE_PROTOCOLS = 'The following protocols are active:'
TITLE_BROWSE_DATA = 'Protocol data'
TITLE_COMMENT = 'Comment'
TITLE_CONTINUE_FORM = 'Confirm CONTINUE'
TITLE_CONTINUE_WORKFLOW_FORM = 'Confirm CONTINUE workflow'
TITLE_CREATE_PROJECT = 'Enter the project name'
TITLE_CREATE_PROJECT_NAME = 'Project Name: '
TITLE_DELETE_FORM = 'Confirm DELETE'
TITLE_DELETE_PROJECT = 'Confirm project deletion'
TITLE_EDIT_OBJECT = 'Edit Object properties'
TITLE_EXEC = 'Execution'
TITLE_INSPECTOR = 'Objects inspector'
TITLE_LABEL = 'Label'
TITLE_LAUNCHED = 'Success'
TITLE_LAUNCHED_WORKFLOW_FAILED = 'The workflow can not be relaunched from this protocol.\n'
TITLE_LAUNCHED_WORKFLOW_FAILED_FORM = 'Error while launching the workflow'
TITLE_NAME_RUN = ' Protocol Run: '
TITLE_PICK_GAUSS = 'Automatic gaussian picking'
TITLE_RENAME_PROJECT = 'Confirm project renaming'
TITLE_RESETED_WORKFLOW_FAILED = 'Error while resetting the workflow'
TITLE_RESET_WORKFLOW = 'Do you really want to *RESET* this Workflow?'
TITLE_RESET_WORKFLOW_FORM = 'Confirm RESET'
TITLE_RESTART_FORM = 'Confirm RESTART'
TITLE_RESTART_WORKFLOW_FORM = 'Confirm RESTART workflow'
TITLE_RUN = 'Run'
TITLE_SAVED_FORM = 'Success'
TITLE_SAVE_OUTPUT = 'Save protocol output'
TITLE_STOPPED_WORKFLOW_FAILED = 'Error while stopping the workflow'
TITLE_STOP_FORM = 'Confirm STOP'
TITLE_STOP_WORKFLOW = 'Do you really want to *STOP* this Workflow?'
TITLE_STOP_WORKFLOW_FORM = 'Confirm STOP'
TOOLTIP_EXTERNAL = 'Open the viewer in an external window. '
TOOLTIP_REFRESH = 'Reload the content of the files in the viewer. '
TOOLTIP_SEARCH_NEXT = 'Move to the next highlighted item. Also, press <Down> or <F3>'
TOOLTIP_SEARCH_PREVIOUS = 'Move to the previous highlighted item. Also, press <Up> or <Shift-F3>'
VAR_COMMENT = 'comment'
VAR_EXEC_HOST = 'hostName'
VAR_EXPERT = 'expertLevel'
VAR_MPI = 'numberOfMpi'
VAR_QUEUE = '_useQueue'
VAR_RUN_MODE = 'runMode'
VAR_RUN_NAME = 'runName'
VAR_THREADS = 'numberOfThreads'
VIEW_DATA = 'Data'
VIEW_PROJECTS = 'Projects'
VIEW_PROTOCOLS = 'Protocols'
VIEW_UPLOAD = 'Upload'
class pyworkflow.utils.properties.PluginInformation[source]

Bases: object

PLUGIN_AUTHORS = 'pluginAuthor'
PLUGIN_DESCRIPTION = 'pluginDescription'
PLUGIN_NAME = 'pluginName'
PLUGIN_RELEASE_DATE = 'pluginUploadedDate'
PLUGIN_URL = 'pluginURL'
PLUGIN_VERSION = 'pluginVersion'
class pyworkflow.utils.properties.PluginStates[source]

Bases: object

AVAILABLE_RELEASE = 'available_release'
BINARY = 'binary'
CHECKED = 'checked'
ERRORS = 'errors'
FAILURE = 'failure'
INSTALL = 'install'
INSTALLED = 'installed'
PLUGIN = 'plugin'
PRECESSING = 'processing'
SUCCESS = 'success'
TO_INSTALL = 'to_install'
TO_UPDATE = 'to_update'
UNCHECKED = 'unchecked'
UNINSTALL = 'uninstall'
WAITING = 'waiting'
class pyworkflow.utils.properties.Sprite[source]

Bases: object

DEFAULT_WIDTH = 320
RATIO = None

Ratio of the sprite file of the SpriteImage definitions

classmethod getImage(sprite: SpriteImage)[source]

Returns the image cut put from the stripe file at the locations define by SpriteImage

classmethod getSpritesFile()[source]
classmethod loadSprites()[source]

Loads the image of the sprite

class pyworkflow.utils.properties.SpriteImage(top, left, name, bottom=None, right=None)[source]

Bases: object

class pyworkflow.utils.properties.colorText[source]

Bases: object

printing in colors, bold, etc, example: print colorText.BOLD + ‘Hello World !’ + color.END

BLUE = '\x1b[94m'
BOLD = '\x1b[1m'
CYAN = '\x1b[96m'
DARKCYAN = '\x1b[36m'
END = '\x1b[0m'
GREEN = '\x1b[92m'
PURPLE = '\x1b[95m'
RED = '\x1b[91m'
UNDERLINE = '\x1b[4m'
YELLOW = '\x1b[93m'