CustomOption

class ase2sprkkr.common.options.CustomOption(definition, container=None, value=None)[source]

An user-added option (configuration value). It can be removed from the section.

Class hierarchy

Inheritance diagram of ase2sprkkr.common.options.CustomOption

Constructor

__init__(definition, container=None, value=None)

” :param definition: The value type of the option and its format (in potential and/or task file) :type definition: ValueDefinition :param container: The container, that owns the object :param value: The value of the option. :type value: mixed

remove()[source]

Remove me from my “parent” section

classmethod factory(value_definition, type=<Mixed>)[source]

Returns factory function for the given value definition