bout_runners.utils.file_operations¶
Module containing file operation functions.
Functions
|
Copy restart files. |
Return the directory of the topmost caller file. |
|
|
Return the modification time of a file path. |
-
bout_runners.utils.file_operations.
copy_restart_files
(copy_restart_from: Union[str, pathlib.Path], copy_restart_to: Union[str, pathlib.Path]) → None[source]¶ Copy restart files.
- Parameters
- copy_restart_fromstr or Path
Directory to copy restart files from
- copy_restart_tostr or Path
Directory to copy restart files to
- Raises
- FileNotFoundError
In case no restart files are found