casm.project.project_path

casm.project.project_path(dir=None)[source]

Crawl up from dir to find ‘.casm’. If found returns the directory containing the ‘.casm’ directory. If not found, return None.

Args: If dir == None, set to os.getcwd()