Logo
  • Usage
  • Postprocessing
  • Testsuite
  • Input generation
  • API reference
    • perturbopy
      • perturbopy.conftest
      • perturbopy.generate_input
      • perturbopy.io_utils
      • perturbopy.postproc
      • perturbopy.test_utils
        • perturbopy.test_utils.compare_data
        • perturbopy.test_utils.run_test
      • perturbopy.testing_code
      • perturbopy.tests_use
perturbopy
  • Perturbopy API
  • perturbopy
  • perturbopy.test_utils
  • perturbopy.test_utils.run_test
  • perturbopy.test_utils.run_test.env_utils
  • perturbopy.test_utils.run_test.env_utils.copy_folder_with_softlinks
  • View page source

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

Previous Next

© Copyright 2024, Perturbo developers.

Built with Sphinx using a theme provided by Read the Docs.