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.softlink_epr_files
  • View page source

perturbopy.test_utils.run_test.env_utils.softlink_epr_files

perturbopy.test_utils.run_test.env_utils.softlink_epr_files(perturbo_scratch_dir_prefix, test_name, dst, file_name)

Make a softlink from scratch folder to the computed epr file

Parameters:
  • perturbo_scratch_dir_prefix (str) – path to the scratch folder with computational files and results

  • test_name (str) – name of test

  • dst (str) – folder where the softlink will be placed

  • file_name (str) – name of the linked epr-file

Raises:

ValueError – if corresponding epr-file wasn’t found or calculated.

Return type:

None

Previous Next

© Copyright 2024, Perturbo developers.

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