perturbopy.test_utils.run_test.run_utils

Utils to select which tests to run based on the command line arguments and test tags.

Functions

define_nq_num

Define the number of the q-points, obtained during the phonon calculation

filter_tests

Return the list of test folders based on command line options

get_all_tests

Get the names of all test folders based on the test_listing.yml file.

get_tol

Extract the absolute and relative tolerances for key from ig_n_tol dict.

key_in_dict

Check is a key is in dictionary.

ph_collection

Collect the phonon data into a directory called save.

print_test_info

Print information about a test.

read_test_tags

Get a list of tags for a given test.

setup_default_tol

Setup the default tolerances for each file to compare if the tolerances are not specified in the pert_input.yml file.