get_case#

ams.utils.paths.get_case(rpath, check=True)[source]#

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

To list all cases, use ams.list_cases().

Parameters:
checkbool

True to check if file exists

Examples

To get the path to the case kundur_full.xlsx under folder kundur, do

ams.get_case('kundur/kundur_full.xlsx')