ATLAS Offline Software
|
Functions | |
def | package_prefix (package) |
def | duplicate_filename (list, filename) |
def | find_scripts (patterns) |
def | remember_cwd () |
def | first_existing_file (file_list) |
def | newest_file (pattern) |
def python.TrigARTUtils.duplicate_filename | ( | list, | |
filename | |||
) |
Definition at line 23 of file TrigARTUtils.py.
def python.TrigARTUtils.find_scripts | ( | patterns | ) |
Definition at line 30 of file TrigARTUtils.py.
def python.TrigARTUtils.first_existing_file | ( | file_list | ) |
Returns the first file name from the list which corresponds to an existing file. Returns None if none of the files in the list exist.
Definition at line 59 of file TrigARTUtils.py.
def python.TrigARTUtils.newest_file | ( | pattern | ) |
Returns the newest file (by modification date) in the current directory with a name matching the pattern. Returns None if no file is matched.
Definition at line 70 of file TrigARTUtils.py.
def python.TrigARTUtils.package_prefix | ( | package | ) |
Returns a prefix included in names of all tests from the given package
Definition at line 12 of file TrigARTUtils.py.
def python.TrigARTUtils.remember_cwd | ( | ) |
Simple pushd/popd replacement from https://stackoverflow.com/a/169112
Definition at line 50 of file TrigARTUtils.py.