INNER CODE UNIT · Python
_collectGarbage
toolsforexperiments/plottr · plottr/__init__.py:102
def _collectGarbage() -> None:
gc.collect()
def configPaths() -> Tuple[str, str, str]:
"""Get the folders where plottr looks for config files.
:return: List of absolute paths, in order of priority:
(1) current working directory
(2) ~/.plottr
(3) config directory in the package.
"""
builtIn = os.path.join(plottrPath, 'config')
user = os.path.join(os.path.expanduser("~"), '.plottr')
cwd = os.getcwd()
return cwd, user, builtIn