OutputFileSectionDefinition
- class ase2sprkkr.output_files.output_files_definitions.OutputFileSectionDefinition(name, members=[], written_name=None, info=None, description=None, is_optional=False, is_hidden=False, is_expert=False, has_hidden_members=False, name_in_grammar=None, force_order=None, name_regex=False, result_class=None, is_repeated=False, repeated_delimiter=None, write_condition=None)[source]
Class hierarchy

Constructor
- __init__(name, members=[], written_name=None, info=None, description=None, is_optional=False, is_hidden=False, is_expert=False, has_hidden_members=False, name_in_grammar=None, force_order=None, name_regex=False, result_class=None, is_repeated=False, repeated_delimiter=None, write_condition=None)
Definition of container (e.g. section of an input file). For the rest of the parameters see the
RealItemDefinition.- Parameters:
has_hidden_members (bool) – If true, this section is not intended for a direct editing
is_repeated (bool or string) – The section can be repeated. The name of the section appears only once on the beginning (this differs from ValueDefinition.is_repeated #TODO - merge the meaning of the swtich). If a non-empty string is given, the values are divided by the string.
force_order (bool) – If True, the items has to retain the order, if False, the items can be in the input file in any order.
- delimiter = '\n'
- grammar_of_delimiter = Suppress:('\n')
- Parameters:
name (Optional[str])
- Return type:
ParserElement
- custom_class = None
- force_order = True
Force order of its members