andes.utils.paths#

Utility functions for loading andes stock test cases

Functions

andes_root()

Return the path to the folder of the ANDES package.

cases_root()

Return the root path to the stock cases

confirm_overwrite(outfile[, overwrite])

Confirm overwriting a file.

get_case(rpath[, check])

Return the path to a stock case for a given path relative to andes/cases.

get_config_path([file_name])

Return the path of the config file to be loaded.

get_dot_andes_path()

Return the path to $HOME/.andes

get_log_dir()

Get the directory for log file.

get_pycode_path([pycode_path, mkdir])

Get the path to the pycode folder.

list_cases([rpath, no_print])

List stock cases under a given folder relative to andes/cases

tests_root()

Return the root path to the stock cases

Classes

DisplayablePath(path, parent_path, is_last)