matcalc.config module
Sets some configuration global variables and locations for matcalc.
- clear_cache(*, confirm: bool = True) None [source]
Deletes all files and subdirectories within the benchmark data directory, effectively clearing the cache. The user is prompted for confirmation before proceeding with the deletion to prevent accidental data loss.
- Parameters:
confirm – A flag to bypass the confirmation prompt. If set to True, the function will prompt the user for confirmation. If set to False, the deletion will proceed without additional confirmation. Defaults to True.
- Returns:
Returns None.