tomwer.core.settings.SlurmSettingsMode#

class tomwer.core.settings.SlurmSettingsMode(*values)#

Enumeration of available Slurm settings modes.

CAST_VOLUME = 'Cast Volume'#
MANUAL = 'Manual'#
SLICE_RECONSTRUCTION = 'Slice Reconstruction'#
STANDARD = 'Standard'#
STITCHING = 'Stitching'#
VOLUME_RECONSTRUCTION = 'Volume Reconstruction'#
static get_settings_class(mode)#

Retrieve the corresponding settings class for the given mode.

Parameters:

mode – A SlurmSettingsMode member.

Returns:

A subclass of SlurmSettings for the mode, or None if manual.

Raises:

ValueError – If the mode is not handled.