core.commands.field_map_path module
Define a useless command to serve as place holder.
- class FieldMapPath(line: list[str], dat_idx: int, default_field_map_folder: Path, **kwargs: str)
Bases:
Command
Used to get the base path of field maps.
- __init__(line: list[str], dat_idx: int, default_field_map_folder: Path, **kwargs: str) None
Save the given path as attribute.
- _abc_impl = <_abc._abc_data object>
- apply(instructions: list[Instruction], **kwargs: float) list[Instruction]
Set
FieldMap
field folder up.If another
FieldMapPath
is found, we stop and this command will be applied later.
- is_implemented: bool = True
- n_attributes: int | range | Collection = 1
- set_influenced_elements(instructions: list[Instruction], **kwargs: float) None
Determine the index of the elements concerned by
apply()
.