darfix.tasks.hdf5_scans_concatenation.VDS_POLICY#

class darfix.tasks.hdf5_scans_concatenation.VDS_POLICY(value)[source]#

Bases: Enum

Virtual dataset policy. Values can be: * ‘absolute’: in this case the links will be done with the absolute path. Safer for ‘single’ shot processing. * ‘relative’: in this case the links will be done with relative path. Safer if we want to move files. Links will be preserved as long as relative paths are preserved.

ABSOLUTE = 'absolute'#
RELATIVE = 'relative'#
classmethod from_value(value)#

Convert a value to corresponding Enum member

Parameters:

value – The value to compare to Enum members If it is already a member of Enum, it is returned directly.

Returns:

The corresponding enum member

Return type:

Enum

Raises:

ValueError – In case the conversion is not possible

classmethod members()#

Returns a tuple of all members.

Return type:

Tuple[Enum]

classmethod names()#

Returns a tuple of all member names.

Return type:

Tuple[str]

classmethod values()#

Returns a tuple of all member values.

Return type:

Tuple