perturbopy.test_utils.run_test.env_utils.copy_folder_with_softlinks
- perturbopy.test_utils.run_test.env_utils.copy_folder_with_softlinks(src, dst, perturbo_scratch_dir_prefix=None, test_name=None, second_run=False)
Copy the src directory to the dst directory, except the epr file - for it softlink is created.
- Parameters:
src (str) – folder with computational info, which is copied
dst (str) – folder, where the files will be copied
perturbo_scratch_dir_prefix (str or None) – path to the scratch folder with computational files and results, None by default
test_name (str or None) – name of test, None by default
second_run (bool) – check that this is second run of perturbo (for qe2pert testing)
- Return type:
None