perturbopy.test_utils.run_test.env_utils

Set up the environment for Perturbo runs.

Functions

copy_folder_with_softlinks

Copy the src directory to the dst directory, except the epr file - for it softlink is created.

load_files_from_box

Downloads files needed for qe2pert tests from remote cloud storage.

move_qe2pert_files

Moves the auxiliary files for qe2pert tests from a previously downloaded and unzipped archive to the folder where all tests are run.

perturbo_scratch_dir_config

Check if the PERT_SCRATCH variable is written in the config_machine file.

run_from_config_machine

Check if the executional command defined for the step of computation

softlink_epr_files

Make a softlink from scratch folder to the computed epr file