aiida_vasp.utils.general#

General utils.

Contains general utils that is not directly coupled to the plugin or AiiDA.

Module Contents#

Functions#

copytree

Fixes annoying complaint about existing directory running tests

API#

aiida_vasp.utils.general.copytree(src: str, dst: str, symlinks: bool = False, ignore: Callable[[str, list[str]], list[str]] | None = None) None[source]#

Fixes annoying complaint about existing directory running tests

In Python 3.8 there is a flag for shutil.copytree that handles this, but we still support 3.6 and 3.7.