orangecontrib.tomwer.widgets.cluster.SlurmClusterOW.SlurmClusterOW#

class orangecontrib.tomwer.widgets.cluster.SlurmClusterOW.SlurmClusterOW(parent=None)#

Orange widget for configuring a Slurm cluster.

This widget provides an interface for users to set up a Slurm cluster configuration, which is then used as input by other widgets.

class Outputs#
config_out = Output(name='cluster_config', type=<class 'tomwer.core.cluster.cluster.SlurmClusterConfiguration'>, ...)#
description = 'Let the user configure the cluster to be used.'#

Short widget description, displayed in canvas help tooltips.

getConfiguration()#

Retrieve the current Slurm cluster configuration from the settings window.

Return type:

SlurmClusterConfiguration

Returns:

A SlurmClusterConfiguration instance representing the current configuration.

icon = 'icons/slurm.svg'#

Widget icon path, relative to the defining module.

id = 'orange.widgets.tomwer.cluster.SlurmClusterOW.SlurmClusterOW'#
keywords = ['tomography', 'tomwer', 'slurm', 'cluster', 'configuration']#

Widget keywords, used for finding it in the quick menu.

name = 'Cluster Configuration'#

Widget name, as presented in the Canvas.

priority = 20#

Widget priority, used for sorting within a category.

resizing_enabled = True#

Should the widget’s window be resizeable? (if not, the widget will derive a fixed size constraint from its layout)

settingsHandler = <orangewidget.settings.SettingsHandler object>#

Settings handler, can be overridden for context handling.

want_control_area = False#

Should the widget construct a controlArea?

want_main_area = True#

Should the widget construct a mainArea? (a resizable area to the right of the controlArea)