pyworkflow.gui.project.utils module

class pyworkflow.gui.project.utils.LinuxHandler[source]

Bases: pyworkflow.gui.project.utils.OSHandler, abc.ABC

maximizeWindow()[source]
class pyworkflow.gui.project.utils.MacHandler[source]

Bases: pyworkflow.gui.project.utils.OSHandler, abc.ABC

maximizeWindow()[source]
class pyworkflow.gui.project.utils.OS[source]

Bases: object

classmethod getDistro()[source]
static getPlatform()[source]
classmethod handler()[source]
class pyworkflow.gui.project.utils.OSHandler[source]

Bases: abc.ABC

Abstract class: Handler for OS specific actions

maximizeWindow()[source]
class pyworkflow.gui.project.utils.WindowsHandler[source]

Bases: pyworkflow.gui.project.utils.OSHandler, abc.ABC

maximizeWindow()[source]
pyworkflow.gui.project.utils.getStatusColor(status=None, default='#ADD8E6')[source]
Parameters:
  • status status of the protocol
  • Returns the color associated with he status
  • ——-
pyworkflow.gui.project.utils.getStatusColorFromNode(node)[source]
pyworkflow.gui.project.utils.getStatusColorFromRun(prot)[source]

Returns the color associated with the status.