_base
Base class for runners.
BaseRunner
dataclass
¶
BaseRunner(
atoms: Atoms | None = None,
copy_files: (
SourceDirectory
| dict[SourceDirectory, Filenames]
| None
) = None,
)
A base class for runners that sets up the calculation and cleans up the scratch directory.
Attributes:
-
atoms
(Atoms | None
) –Atoms object with calculator attached (or no Atoms object at all).
-
copy_files
(SourceDirectory | dict[SourceDirectory, Filenames] | None
) –Files to copy to runtime directory.
copy_files
class-attribute
instance-attribute
¶
copy_files: (
SourceDirectory
| dict[SourceDirectory, Filenames]
| None
) = None
cleanup ¶
Perform cleanup operations on the runtime directory.
Returns:
-
None
–
setup ¶
Perform setup operations on the runtime directory.
Returns:
-
None
–